1SUMMARY = "Administration tool for arp packet filtering" 2SECTION = "net" 3LICENSE = "GPL-2.0-only" 4LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6" 5SRCREV = "efae8949e31f8b2eb6290f377a28384cecaf105a" 6PV = "0.0.5+git${SRCPV}" 7 8SRC_URI = " \ 9 git://git.netfilter.org/arptables;branch=master \ 10 file://0001-Use-ARPCFLAGS-for-package-specific-compiler-flags.patch \ 11 file://arptables-arpt-get-target-fix.patch \ 12 file://arptables.service \ 13" 14SRC_URI[arptables.md5sum] = "1d4ab05761f063b0751645d8f2b8f8e5" 15SRC_URI[arptables.sha256sum] = "e529fd465c67d69ad335299a043516e6b38cdcd337a5ed21718413e96073f928" 16 17S = "${WORKDIR}/git" 18SYSTEMD_SERVICE:${PN} = "arptables.service" 19 20inherit systemd 21 22EXTRA_OEMAKE = "'BINDIR=${sbindir}' 'MANDIR=${mandir}'" 23 24do_install() { 25 oe_runmake install DESTDIR=${D} 26 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then 27 install -d ${D}${systemd_unitdir}/system 28 install -m 644 ${WORKDIR}/arptables.service ${D}${systemd_unitdir}/system 29 fi 30} 31 32RDEPENDS:${PN} += "perl" 33 34# the install target is not multi-job safe, but it doesn't do much 35# so we just install serially 36# 37PARALLEL_MAKEINST = "-j1" 38