void-packages/srcpkgs/redo/template

37 lines
918 B
Bash
Raw Normal View History

2015-08-28 16:21:55 +00:00
# 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
2015-08-31 11:40:27 +00:00
}
2015-08-28 16:21:55 +00:00
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
}