void-packages/srcpkgs/ht/template

22 lines
624 B
Bash

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