2015-10-05 19:27:10 +02:00
|
|
|
# Template file for 'hnb'
|
|
|
|
pkgname=hnb
|
|
|
|
version=1.9.17
|
2016-05-25 18:24:57 +02:00
|
|
|
revision=2
|
2015-10-05 19:27:10 +02:00
|
|
|
makedepends="ncurses-devel"
|
|
|
|
short_desc="A curses program to structure many kinds of data in one place"
|
|
|
|
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
2016-05-25 18:24:57 +02:00
|
|
|
license="GPL-2"
|
2015-10-05 19:27:10 +02:00
|
|
|
homepage="http://hnb.sourceforge.net/"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/hnb/hnb/${version}/hnb-${version}.tar.gz"
|
|
|
|
checksum=c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4
|
|
|
|
|
2016-05-25 18:24:57 +02:00
|
|
|
post_extract() {
|
|
|
|
sed -i '/CFLAGS *=/s/$/ $(CCFLAGS)/' src/Makefile src/libcli/Makefile
|
|
|
|
sed -i '/LIBS=/s/$/ $(LDFLAGS)/' src/Makefile
|
|
|
|
}
|
2015-10-05 19:27:10 +02:00
|
|
|
do_build(){
|
2016-05-25 18:24:57 +02:00
|
|
|
make -C src ${makejobs} CC="$CC" CCFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
|
|
|
|
make -C util ${makejobs} CC="$CC" CCFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
|
2015-10-05 19:27:10 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
vbin src/hnb
|
|
|
|
vbin util/asc2c
|
|
|
|
vdoc doc/Documentation.hnb
|
|
|
|
vdoc doc/Documentation.html
|
|
|
|
vman doc/hnb.1
|
|
|
|
}
|