dhex: use build_style=gnu-makefile; get rid of cross workarounds.
This commit is contained in:
parent
b34e81e5ac
commit
f67383e3b9
|
@ -1,8 +1,9 @@
|
|||
# Template file for 'dhex'
|
||||
pkgname=dhex
|
||||
version=0.68
|
||||
revision=3
|
||||
revision=4
|
||||
build_pie=yes
|
||||
build_style=gnu-makefile
|
||||
makedepends="ncurses-devel"
|
||||
short_desc="Hex editor and diff tool using ncurses"
|
||||
maintainer="Alex Brem <alex@fluktuation.net>"
|
||||
|
@ -12,11 +13,6 @@ 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
|
||||
|
|
Loading…
Reference in New Issue
Block a user