void-packages/srcpkgs/redo/template
Christian Neukirchen cf4a2dbb97 redo: update to 1.3.
2016-12-15 17:27:16 +01:00

35 lines
830 B
Bash

# Template file for 'redo'
pkgname=redo
version=1.3
revision=1
create_wrksrc=yes
hostmakedepends="perl"
short_desc="Incremental build system (version of de Boyne Pollard)"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="ISC"
homepage="https://jdebp.eu/Softwares/redo/"
distfiles="https://jdebp.eu/Repository/freebsd/redo-${version}.tar.gz"
checksum=191cc99f24c450710fe4ea6dd2bea4a6ed6afab2eb870c4d0232009d4ab3a7fb
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
}