fossil at [d8aa72a9f7]

File pkgs/fossil artifact c83508e264 part of check-in d8aa72a9f7


#! /usr/bin/env bash

version='1.32'
url="https://www.fossil-scm.org/download/fossil-src-${version}.tar.gz"
sha256='cd79c333eb9e86fbb8c17bf5cdf31c387e4ab768eede623aed21adfdbcad686e'
require=(zlib@core.appfs.rkeene.org)

function configure() {
	configure_gcc

	CCACHE=none
	export CCACHE

	./configure "${configure_extra[@]}"
}

function build() {
	make
}

function install() {
	mkdir -p "${destdir}/${prefix}/bin"
	cp fossil "${destdir}/${prefix}/bin/"
	chmod 755 "${destdir}/${prefix}/bin/fossil"
}