blob: c4fc1c329ad2970b731cad6b59c4a9d7ce1c5ccb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
DESCRIPTION = "Utility that enables basic Ethernet frame filtering on a Linux bridge, MAC NAT and brouting."
PRIORITY = "optional"
LICENSE = "GPL"
SECTION = "console/network"
PR = "r2"
TARGET_CC_ARCH += "${LDFLAGS}"
SRC_URI = "${SOURCEFORGE_MIRROR}/ebtables/ebtables-v${PV}.tar.gz \
file://gcc34.patch;patch=1 \
file://gcc4.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
}
|