void-packages/srcpkgs/halibut/template

33 lines
868 B
Bash
Raw Normal View History

2015-05-03 00:51:46 +02:00
# Template file for 'halibut'
pkgname=halibut
version=1.1
2016-05-26 17:22:30 +02:00
revision=5
2015-05-03 00:51:46 +02:00
build_style=gnu-makefile
2015-06-06 17:39:36 +02:00
CFLAGS='-I../charset -I../build'
2015-05-11 18:51:45 +02:00
disable_parallel_build=yes
2015-05-03 00:51:46 +02:00
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/"
2016-05-24 13:40:19 +02:00
distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}.tar.gz"
2015-05-03 00:51:46 +02:00
checksum=b964950d11ed09d3af28ac095da539613f6e50d650f01fe72b4ae752724c80a0
2016-05-26 17:22:30 +02:00
nopie=yes # segfaults on x86_64-musl
2016-05-25 18:40:25 +02:00
2016-05-24 13:40:19 +02:00
pre_build() {
export LIBS="$LDFLAGS"
}
2015-05-03 00:51:46 +02:00
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
}