diff --git a/srcpkgs/halibut/template b/srcpkgs/halibut/template new file mode 100644 index 00000000000..9195df26247 --- /dev/null +++ b/srcpkgs/halibut/template @@ -0,0 +1,26 @@ +# Template file for 'halibut' +pkgname=halibut +version=1.1 +revision=1 +build_style=gnu-makefile +hostmakedepends="perl" +if [ "$CROSS_BUILD" ]; then + hostmakedepends+=" halibut" +fi +short_desc="Yet another free document preparation system" +maintainer="Christian Neukirchen " +license="MIT" +homepage="http://www.chiark.greenend.org.uk/~sgtatham/halibut/" +distfiles="http://www.chiark.greenend.org.uk/~sgtatham/halibut/halibut-1.1.tar.gz" +checksum=b964950d11ed09d3af28ac095da539613f6e50d650f01fe72b4ae752724c80a0 + +do_install() { + if [ "$CROSS_BUILD" ]; then + export HALIBUT=/usr/bin/halibut + fi + make -e -C doc + vman doc/halibut.1 + vdoc doc/halibut.txt + vbin build/halibut + vlicense LICENCE LICENSE +}