mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-17 22:57:01 +02:00
halibut: update to 1.3.
This commit is contained in:
parent
5a89416374
commit
5be2c56c3c
2 changed files with 7 additions and 25 deletions
|
@ -1,11 +0,0 @@
|
|||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -110,7 +110,7 @@
|
||||
$(CC) $(CFLAGS) -MD -c $<
|
||||
|
||||
version.o: FORCE
|
||||
- $(CC) $(VDEF) -MD -c $(SRC)version.c
|
||||
+ $(CC) $(CFLAGS) $(VDEF) -MD -c $(SRC)version.c
|
||||
|
||||
spotless:: clean
|
||||
rm -f *.d
|
|
@ -1,8 +1,8 @@
|
|||
# Template file for 'halibut'
|
||||
pkgname=halibut
|
||||
version=1.2
|
||||
version=1.3
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
build_style=cmake
|
||||
hostmakedepends="perl"
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
hostmakedepends+=" halibut"
|
||||
|
@ -12,20 +12,13 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|||
license="MIT"
|
||||
homepage="http://www.chiark.greenend.org.uk/~sgtatham/halibut/"
|
||||
distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
|
||||
checksum=1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f
|
||||
checksum=aaa0f7696f17f74f42d97d0880aa088f5d68ed3079f3ed15d13b6e74909d3132
|
||||
|
||||
CFLAGS='-I../charset -I../build -fcommon'
|
||||
|
||||
pre_build() {
|
||||
export LIBS="$LDFLAGS"
|
||||
}
|
||||
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
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
halibut doc/manpage.but --man=build/doc/halibut.1
|
||||
fi
|
||||
vman build/doc/halibut.1
|
||||
vlicense LICENCE LICENSE
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue