summaryrefslogtreecommitdiff
path: root/package/ebtables/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/ebtables/Makefile')
-rw-r--r--package/ebtables/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/package/ebtables/Makefile b/package/ebtables/Makefile
new file mode 100644
index 000000000..7dafb0ff1
--- /dev/null
+++ b/package/ebtables/Makefile
@@ -0,0 +1,31 @@
+# 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:= ebtables
+PKG_VERSION:= 2.0.9
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 0e0c20adf2bba6d91dbd0b74a1a38c33
+PKG_DESCR:= ethernet bridging firewall tool
+PKG_SECTION:= net
+PKG_URL:= http://ebtables.sourceforge.net
+PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=ebtables/}
+
+DISTFILES:= ${PKG_NAME}-v${PKG_VERSION}-1.tar.gz
+WRKDIST= ${WRKDIR}/${PKG_NAME}-v${PKG_VERSION}-1
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,EBTABLES,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+CONFIG_STYLE:= manual
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_EBTABLES}/etc
+ ${INSTALL_DIR} ${IDIR_EBTABLES}/usr/sbin ${IDIR_EBTABLES}/usr/lib
+ ${INSTALL_DATA} ${WRKINST}/etc/ethertypes ${IDIR_EBTABLES}/etc
+ ${INSTALL_BIN} ${WRKINST}/usr/sbin/ebtables ${IDIR_EBTABLES}/usr/sbin
+ ${CP} ${WRKINST}/usr/lib/*.so ${IDIR_EBTABLES}/usr/lib
+
+include ${TOPDIR}/mk/pkg-bottom.mk