void-packages/srcpkgs/redo/template
2015-08-31 13:56:25 +02:00

36 lines
918 B
Bash

# Template file for 'redo'
pkgname=redo
version=1.2
revision=1
create_wrksrc=yes
build_pie=yes
hostmakedepends="perl"
short_desc="Incremental build system (version of de Boyne Pollard)"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="ISC"
homepage="http://homepage.ntlworld.com/jonathan.deboynepollard/Softwares/redo.html"
distfiles="http://homepage.ntlworld.com/jonathan.deboynepollard/Softwares/${pkgname}-${version}.tar.bz2"
checksum=f7ce83c6d125555433cdd520fd325442b824bacb4b1da7810a02d157258dcb41
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
}