linux: update 4.13.x
[openadk.git] / package / iptables-snmp / Makefile
blobc771132e2eff7bda87f3413bdf8b79f57e5a4109
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= iptables-snmp
7 PKG_VERSION:= 0.1
8 PKG_RELEASE:= 1
9 PKG_HASH:= 3275bb3820809a311b9f92ea32f071888b9a92f60c831417490e811f46ec4d54
10 PKG_DESCR:= iptables support for net-snmp
11 PKG_SECTION:= net/misc
12 PKG_BUILDDEP:= net-snmp
13 PKG_URL:= http://www.nobiscuit.com/iptables-snmp/
14 PKG_SITES:= http://www.nobiscuit.com/iptables-snmp/
16 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
18 PKG_LIBC_DEPENDS:= uclibc-ng glibc
20 include $(ADK_TOPDIR)/mk/package.mk
22 $(eval $(call PKG_template,IPTABLES_SNMP,iptables-snmp,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
24 FAKE_FLAGS+= INSTALL_PREFIX="${WRKINST}"
26 iptables-snmp-install:
27 ${INSTALL_DIR} ${IDIR_IPTABLES_SNMP}/usr/lib
28 ${CP} ${WRKINST}/usr/lib/iptables-snmp.so ${IDIR_IPTABLES_SNMP}/usr/lib
30 include ${ADK_TOPDIR}/mk/pkg-bottom.mk