void-packages/srcpkgs/fossil/template
Roberto Ricci bea466c0b6 fossil: fix distfiles url
Tarballs are generated on demand as described at
https://fossil-scm.org/home/help?cmd=/tarball.
The URL in our template has the form
https://fossil-scm.org/home/tarball/<release>/<name>.tar.gz,
where <release> is the commit hash or tag name (defaults to
"trunk" if omitted) and <name> is used as the top-level
directory inside the tarball.
2021-06-23 07:29:40 +07:00

23 lines
824 B
Bash

# Template file for 'fossil'
pkgname=fossil
version=2.15.2
revision=1
build_style=configure
configure_args="--disable-internal-sqlite --prefix=/usr"
hostmakedepends="tcl"
makedepends="zlib-devel openssl-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"
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=39f5a3960ebaa4984fcc953c3307ead5c0f21da4f66ecad516872f89843fcf79
post_extract() {
vsed -i 's/test_system_sqlite$/# &/' auto.def # failing on cross
}
post_install() {
vman fossil.1
vlicense COPYRIGHT-BSD2.txt LICENSE
}