void-packages/srcpkgs/redo/template

36 lines
818 B
Bash

# Template file for 'redo'
pkgname=redo
version=1.5
revision=3
create_wrksrc=yes
hostmakedepends="perl"
short_desc="Incremental build system (version of de Boyne Pollard)"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="ISC"
homepage="http://jdebp.info/Softwares/redo/"
distfiles="http://jdebp.info/Repository/freebsd/redo-${version}.tar.gz"
checksum=5ff21779993418cf16f5632c593e30d9a2780bfc38cef9de9ab9427154736d36
do_configure() {
./package/prepare
echo "$CXX" >build/cxx
echo "$CPPFLAGS" >build/cppflags
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
}