void-packages/srcpkgs/redo/template
2018-07-25 14:22:10 -03:00

35 lines
816 B
Bash

# Template file for 'redo'
pkgname=redo
version=1.4
revision=2
create_wrksrc=yes
hostmakedepends="perl"
short_desc="Incremental build system (version of de Boyne Pollard)"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="ISC"
homepage="https://jdebp.eu/Softwares/redo/"
distfiles="https://jdebp.eu/Repository/freebsd/redo-${version}.tar.gz"
checksum=5b9289f1228eee2f22ab96f7dd4f9b43e3a6d24f75c1f9d1e18eec7360c90fb1
do_configure() {
./package/prepare
echo "$CXX" >build/cxx
echo "$CPPFLAGS" >build/cxxflags
echo "$CXXFLAGS" >build/cxxflags
echo "$LDFLAGS" >build/ldflags
}
do_build() {
./package/make
}
do_install() {
vbin build/redo
vman build/redo.1
for cmd in redo-ifcreate redo-ifchange cubehash; do
ln -sf redo ${DESTDIR}/usr/bin/${cmd}
vman build/${cmd}.1
done
vlicense source/COPYING
}