void-packages/srcpkgs/dhex/template

28 lines
688 B
Bash

# Template file for 'dhex'
pkgname=dhex
version=0.68
revision=3
build_pie=yes
makedepends="ncurses-devel"
short_desc="Hex editor and diff tool using ncurses"
maintainer="Alex Brem <alex@fluktuation.net>"
license="GPL-2,GPL-3"
homepage="http://www.dettus.net/dhex/"
distfiles="${homepage}${pkgname}_${version}.tar.gz"
checksum=126c34745b48a07448cfe36fe5913d37ec562ad72d3f732b99bd40f761f4da08
wrksrc="${pkgname}_${version}"
do_build() {
sed -i "s,-I/usr/include,-I${XBPS_CROSS_BASE}/usr/include,g" Makefile
make CC=$CC CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" ${makejobs}
}
do_install() {
vbin dhex
vman dhex.1
vman dhexrc.5
vman dhex_markers.5
vman dhex_searchlog.5
vdoc README.txt
}