libtool-cross 2.2.6[ab]: Drop legacy staging, taken from poky
[openembedded.git] / recipes / xtables-addons / xtables-addons.inc
blob6b723d210e7aab657d11a90b40c217323caaa102
1 DESCRIPTION = "Xtables-addons contains a set of possibly useful but not included in the mainline kernel nefilter extensions"
2 LICENSE = "GPLv2"
3 DEPENDS = "virtual/kernel iptables"
4 RDEPENDS_${PN} += "kernel update-modules"
5 PROVIDES += "ipset ipset-modules"
6 RPROVIDES_${PN} += "ipset ipset-modules"
8 INC_PR = "r0"
10 SRC_URI = " \
11         ${SOURCEFORGE_MIRROR}/project/${PN}/Xtables-addons/${PV}/${PN}-${PV}.tar.bz2 \
12         "
13 inherit autotools module-base
15 EXTRA_OECONF = "--with-kbuild=${STAGING_KERNEL_DIR}"
17 FILES_${PN} += "${base_libdir}/modules"
18 FILES_${PN}-dbg += "${libexecdir}/xtables/.debug/"
20 pkg_postinst_${PN} () {
21         if [ -n "$D" ]; then
22                 exit 1
23         fi
24         depmod -a
25         update-modules || true
28 pkg_postrm_${PN} () {
29         update-modules || true