M7350/oe-core/meta-msm/recipes/ebtables/ebtables_v2.0.10-4.bb

45 lines
1.4 KiB
BlitzBasic
Raw Permalink Normal View History

2024-09-09 08:57:42 +00:00
inherit autotools-brokensep
2024-09-09 08:52:07 +00:00
DESCRIPTION = "Ethernet bridge tables - Linux Ethernet filter for the Linux bridge"
HOMEPAGE = "http://ebtables.sourceforge.net/"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=53b4a999993871a28ab1488fdbd2e73e"
2024-09-09 08:57:42 +00:00
RDEPENDS_${PN} += "perl"
SECTION = "console/network"
2024-09-09 08:52:07 +00:00
PRIORITY = "optional"
2024-09-09 08:57:42 +00:00
DEPENDS = "virtual/kernel"
PR = "r2"
2024-09-09 08:52:07 +00:00
TARGET_CC_ARCH += "${LDFLAGS}"
SRC_URI = " \
http://sourceforge.net/projects/ebtables/files/ebtables/ebtables-2-0-10-4/ebtables-${PV}.tar.gz \
file://Makefile.patch \
"
SRC_URI[md5sum] = "506742a3d44b9925955425a659c1a8d0"
SRC_URI[sha256sum] = "dc6f7b484f207dc712bfca81645f45120cb6aee3380e77a1771e9c34a9a4455d"
2024-09-09 08:57:42 +00:00
CACHED_CONFIGUREVARS = "ac_cv_linux_vers=${ac_cv_linux_vers=2}"
2024-09-09 08:52:07 +00:00
2024-09-09 08:57:42 +00:00
EXTRA_OEMAKE = "KERNEL_INCLUDES=${STAGING_KERNEL_BUILDDIR}/usr/include"
2024-09-09 08:52:07 +00:00
EXTRA_OECONF = "--without-crypto \
${@base_contains('DISTRO_FEATURES', 'ipv6', '--enable-ipv6', '--disable-ipv6', d)}"
2024-09-09 08:57:42 +00:00
PACKAGES = "${PN} ${PN}-doc"
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
INSANE_SKIP_${PN} += "file-rdeps"
2024-09-09 08:52:07 +00:00
2024-09-09 08:57:42 +00:00
FILES_${PN} += "${libdir}/lib*.so"
FILES_${PN} += "${sbindir}/*"
FILES_${PN}-doc += "${mandir}/*"
2024-09-09 08:52:07 +00:00
do_configure() {
:
}
2024-09-09 08:57:42 +00:00
do_configure_append() {
if [ -d "${S}" ]; then
install -m 555 ${S}/include/linux/netfilter_bridge/ebt_ulog.h ${STAGING_KERNEL_BUILDDIR}/usr/include/linux/netfilter_bridge/ebt_ulog.h
fi
}