void-packages/srcpkgs/fossil/template

22 lines
744 B
Bash

# Template file for 'fossil'
pkgname=fossil
version=2.11.1
revision=2
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=b391f34fada5f16eba452f36d2ad8baa3fe2a5267bf8f4169cb1b9832c0cb8eb
post_extract() {
vsed -i 's/test_system_sqlite$/# &/' auto.def # failing on cross
}
post_install() {
vman fossil.1
vlicense COPYRIGHT-BSD2.txt LICENSE
}