summaryrefslogtreecommitdiff
path: root/packages/ebtables/ebtables_2.0.6.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/ebtables/ebtables_2.0.6.bb')
-rw-r--r--packages/ebtables/ebtables_2.0.6.bb22
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/ebtables/ebtables_2.0.6.bb b/packages/ebtables/ebtables_2.0.6.bb
index e69de29bb2..5141da3a6d 100644
--- a/packages/ebtables/ebtables_2.0.6.bb
+++ b/packages/ebtables/ebtables_2.0.6.bb
@@ -0,0 +1,22 @@
+DESCRIPTION = "Utility that enables basic Ethernet frame filtering on a Linux bridge, MAC NAT and brouting."
+PRIORITY = "optional"
+MAINTAINER = "Ned Ludd <solar@gentoo.org>"
+LICENSE = "GPL"
+SECTION = "console/network"
+PR = "r1"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/ebtables/ebtables-v${PV}.tar.gz \
+ file://gcc34.patch;patch=1 \
+ file://installnonroot.patch;patch=1 \
+ file://installcreatedirs.patch;patch=1"
+S = "${WORKDIR}/ebtables-v${PV}"
+
+do_compile () {
+ oe_runmake 'BINPATH=/sbin/' 'MANDIR=${mandir}/' \
+ 'ETHERTYPESPATH=${sysconfdir}/' 'KERNEL_INCLUDES=${STAGING_INCDIR}'
+}
+
+do_install () {
+ oe_runmake 'BINPATH=${D}/${base_sbindir}/' 'MANDIR=${D}/${mandir}/' \
+ 'ETHERTYPESPATH=${D}/${sysconfdir}/' install
+}