void-packages/srcpkgs/fossil/template

23 lines
744 B
Bash

# Template file for 'fossil'
pkgname=fossil
version=2.12.1
revision=1
build_style=configure
configure_args="--disable-internal-sqlite --prefix=/usr"
hostmakedepends="tcl"
makedepends="zlib-devel libressl-devel readline-devel sqlite-devel"
short_desc="Simple, high-reliability, distributed software configuration management"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://www.fossil-scm.org"
distfiles="https://www.fossil-scm.org/index.html/uv/fossil-src-${version}.tar.gz"
checksum=822326ffcfed3748edaf4cfd5ab45b23225dea840304f765d1d55d2e6c7d6603
post_extract() {
vsed -i 's/test_system_sqlite$/# &/' auto.def # failing on cross
}
post_install() {
vman fossil.1
vlicense COPYRIGHT-BSD2.txt LICENSE
}