void-packages/srcpkgs/fossil/template

26 lines
864 B
Bash

# Template file for 'fossil'
pkgname=fossil
version=2.23
revision=1
build_style=configure
configure_args="--disable-internal-sqlite --prefix=/usr
--with-sqlite=${XBPS_CROSS_BASE}/usr/include --json"
hostmakedepends="tcl"
makedepends="zlib-devel openssl-devel sqlite-devel"
short_desc="Simple, high-reliability, distributed software configuration management"
maintainer="ologantr <mrphyber@protonmail.com>"
license="BSD-2-Clause"
homepage="https://www.fossil-scm.org"
changelog="https://www.fossil-scm.org/home/doc/trunk/www/changes.wiki"
distfiles="https://fossil-scm.org/home/tarball/version-${version}/fossil-${version}.tar.gz"
checksum=75f808e81351018a9716746d9ef1a1fe1bb1904733e8b418643881d381988593
post_extract() {
vsed -i 's/test_system_sqlite$/# &/' auto.def # failing on cross
}
post_install() {
vman fossil.1
vlicense COPYRIGHT-BSD2.txt LICENSE
}