summaryrefslogtreecommitdiff
path: root/package/libdnet/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/libdnet/Makefile')
-rw-r--r--package/libdnet/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/package/libdnet/Makefile b/package/libdnet/Makefile
new file mode 100644
index 000000000..8b25414bb
--- /dev/null
+++ b/package/libdnet/Makefile
@@ -0,0 +1,30 @@
+# $Id$
+#-
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= libdnet
+PKG_VERSION:= 1.10
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 416b765e9d9961501ac85e9a366fd219
+MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=$(PKG_NAME)/}
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,LIBDNET,libdnet,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
+
+CONFIGURE_STYLE= gnu
+CONFIGURE_ENV+= ac_cv_dnet_bsd_bpf=no
+CONFIGURE_ARGS+= --without-check
+BUILD_STYLE= auto
+INSTALL_STYLE= auto
+
+post-install:
+ $(INSTALL_DIR) $(IDIR_LIBDNET)/usr/lib
+ $(INSTALL_DIR) $(IDIR_LIBDNET)/usr/sbin
+ $(CP) $(WRKINST)/usr/lib/libdnet.so.* $(IDIR_LIBDNET)/usr/lib/
+ $(INSTALL_BIN) $(WRKINST)/usr/sbin/dnet $(IDIR_LIBDNET)/usr/sbin/
+
+include ${TOPDIR}/mk/pkg-bottom.mk