Makefile 888 B

12345678910111213141516171819202122232425262728
  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_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. PKG_LIBC_DEPENDS:= uclibc glibc
  14. include $(TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,IPTABLES_SNMP,iptables-snmp,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. FAKE_FLAGS+= INSTALL_PREFIX="${WRKINST}"
  17. iptables-snmp-install:
  18. ${INSTALL_DIR} ${IDIR_IPTABLES_SNMP}/usr/lib
  19. ${CP} ${WRKINST}/usr/lib/iptables-snmp.so ${IDIR_IPTABLES_SNMP}/usr/lib
  20. include ${TOPDIR}/mk/pkg-bottom.mk