void-packages/srcpkgs/halibut/template
Christian Neukirchen aff2af37d1 halibut: set CFLAGS.
2015-06-06 17:39:36 +02:00

28 lines
778 B
Bash

# Template file for 'halibut'
pkgname=halibut
version=1.1
revision=3
build_style=gnu-makefile
CFLAGS='-I../charset -I../build'
disable_parallel_build=yes
hostmakedepends="perl"
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" halibut"
fi
short_desc="Yet another free document preparation system"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
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
}