void-packages/srcpkgs/redo/template
Christian Neukirchen 511f6eb8e2 redo: fix checksum.
2016-09-13 21:32:01 +02:00

35 lines
861 B
Bash

# Template file for 'redo'
pkgname=redo
version=1.2
revision=2
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/debian/dists/stable/main/source/${pkgname}-${version}.tar.bz2"
checksum=366c2d42750a5b7ca19b910577dbb75a95cf30a14eb963fd89015bc992c9c2d3
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
}