Makefile 844 B

1234567891011121314151617181920212223242526
  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 $(TOPDIR)/rules.mk
  4. PKG_NAME:= iptables-snmp
  5. PKG_VERSION:= 0.1
  6. PKG_RELEASE:= 1
  7. PKG_BUILDDEP+= net-snmp
  8. PKG_MD5SUM:= 8370d2f0c899461a053da491400119d1
  9. PKG_DESCR:= iptables support for net-snmp
  10. PKG_SECTION:= net/misc
  11. PKG_URL:= http://www.nobiscuit.com/iptables-snmp/
  12. PKG_SITES:= http://www.nobiscuit.com/iptables-snmp/
  13. include $(TOPDIR)/mk/package.mk
  14. $(eval $(call PKG_template,IPTABLES_SNMP,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. FAKE_FLAGS+= INSTALL_PREFIX="${WRKINST}"
  16. post-install:
  17. ${INSTALL_DIR} ${IDIR_IPTABLES_SNMP}/usr/lib
  18. ${CP} ${WRKINST}/usr/lib/iptables-snmp.so ${IDIR_IPTABLES_SNMP}/usr/lib
  19. include ${TOPDIR}/mk/pkg-bottom.mk