void-packages/srcpkgs/dhex/template

28 lines
688 B
Bash
Raw Normal View History

2015-05-06 16:01:01 +00:00
# Template file for 'dhex'
pkgname=dhex
version=0.68
2015-08-30 18:58:41 +00:00
revision=3
build_pie=yes
2015-05-06 16:01:01 +00:00
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}
}
2015-05-06 16:01:01 +00:00
do_install() {
2015-05-06 16:58:18 +00:00
vbin dhex
vman dhex.1
vman dhexrc.5
vman dhex_markers.5
vman dhex_searchlog.5
vdoc README.txt
2015-05-06 16:01:01 +00:00
}