summaryrefslogtreecommitdiff
path: root/package/libdnet/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2013-11-03 19:34:17 +0100
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2013-11-03 19:34:17 +0100
commit81f740f42ae56cd8d3fe793730c03c1307083320 (patch)
treeb8a8add14e2d6a999f737a2887b55865b0773e2c /package/libdnet/Makefile
parent088b50c9d32438463950c40d00c4c89f61d5e3b8 (diff)
update to new autotool infrastructure
Diffstat (limited to 'package/libdnet/Makefile')
-rw-r--r--package/libdnet/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/package/libdnet/Makefile b/package/libdnet/Makefile
index 214c55192..998f54b70 100644
--- a/package/libdnet/Makefile
+++ b/package/libdnet/Makefile
@@ -5,10 +5,11 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= libdnet
PKG_VERSION:= 1.11
-PKG_RELEASE:= 2
+PKG_RELEASE:= 3
PKG_MD5SUM:= 04c394ed8e1e7fc455456e79e908916d
PKG_DESCR:= a low-level networking library
PKG_SECTION:= libs
+PKG_BUILDDEP:= autotool
PKG_URL:= http://libdnet.sourceforge.net/
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=$(PKG_NAME)/}
PKG_OPTS:= dev
@@ -17,10 +18,14 @@ include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBDNET,libdnet,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
+AUTOTOOL_STYLE:= autoreconf
TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
CONFIGURE_ENV+= ac_cv_dnet_bsd_bpf=no
CONFIGURE_ARGS+= --without-check
+post-patch:
+ mv $(WRKBUILD)/config/acinclude.m4 $(WRKBUILD)
+
libdnet-install:
$(INSTALL_DIR) $(IDIR_LIBDNET)/usr/lib
$(CP) $(WRKINST)/usr/lib/libdnet.so* $(IDIR_LIBDNET)/usr/lib