Makefile 948 B

123456789101112131415161718192021222324252627282930
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= iptables-snmp
  5. PKG_VERSION:= 0.1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 8370d2f0c899461a053da491400119d1
  8. PKG_DESCR:= iptables support for net-snmp
  9. PKG_SECTION:= net/misc
  10. PKG_BUILDDEP:= net-snmp
  11. PKG_URL:= http://www.nobiscuit.com/iptables-snmp/
  12. PKG_SITES:= http://www.nobiscuit.com/iptables-snmp/
  13. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  14. PKG_LIBC_DEPENDS:= uclibc glibc
  15. include $(ADK_TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,IPTABLES_SNMP,iptables-snmp,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. FAKE_FLAGS+= INSTALL_PREFIX="${WRKINST}"
  18. iptables-snmp-install:
  19. ${INSTALL_DIR} ${IDIR_IPTABLES_SNMP}/usr/lib
  20. ${CP} ${WRKINST}/usr/lib/iptables-snmp.so ${IDIR_IPTABLES_SNMP}/usr/lib
  21. include ${ADK_TOPDIR}/mk/pkg-bottom.mk