diff --git a/srcpkgs/redo/template b/srcpkgs/redo/template new file mode 100644 index 00000000000..406ba3e4079 --- /dev/null +++ b/srcpkgs/redo/template @@ -0,0 +1,36 @@ +# 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 " +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 +}