void-packages/srcpkgs/ht/template
2020-09-08 14:06:36 +02:00

22 lines
623 B
Bash

# Template file for 'ht'
pkgname=ht
version=2.1.0
revision=3
build_style=gnu-configure
makedepends="ncurses-devel lzo-devel"
short_desc="File editor/viewer/analyzer for executables"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-only"
homepage="http://hte.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/hte/ht-source/${pkgname}-${version}.tar.bz2"
checksum=31f5e8e2ca7f85d40bb18ef518bf1a105a6f602918a0755bc649f3f407b75d70
CXXFLAGS="-Wno-narrowing"
pre_build() {
make CC="$BUILD_CC" CFLAGS="$BUILD_CFLAGS" CPPFLAGS= LDFLAGS= -C tools bin2c
}
post_install() {
vinstall doc/ht.info 0644 usr/share/info
}