void-packages/srcpkgs/redo/template

36 lines
816 B
Bash

# Template file for 'redo'
pkgname=redo
version=1.4
revision=1
create_wrksrc=yes
hostmakedepends="perl"
short_desc="Incremental build system (version of de Boyne Pollard)"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="ISC"
homepage="https://jdebp.eu/Softwares/redo/"
distfiles="https://jdebp.eu/Repository/freebsd/redo-${version}.tar.gz"
checksum=03d75e73b94bbf3a8b6ecd4f3c75f197c13c0e89eeb088be60f445880478285d
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
}