Makefile 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  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:= ipset
  5. PKG_VERSION:= 4.1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= d104007fdf5ea64fef774c22b1c0a97b
  8. PKG_DESCR:= ip sets administration utility
  9. PKG_SECTION:= firewall
  10. PKG_URL:= http://ipset.netfilter.org/
  11. PKG_SITES:= http://ipset.netfilter.org/
  12. PKG_ARCH_DEPENDS:= !arm !avr32
  13. PKG_CFLINE_IPSET:= depends on !ADK_TOOLCHAIN_ONLY
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,IPSET,ipset,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIG_STYLE:= manual
  18. XAKE_FLAGS+= PREFIX=/usr
  19. ALL_TARGET:= binaries
  20. INSTALL_TARGET:= binaries_install
  21. ipset-install:
  22. ${INSTALL_DIR} ${IDIR_IPSET}/usr/sbin ${IDIR_IPSET}/usr/lib/ipset
  23. ${INSTALL_BIN} ${WRKINST}/usr/sbin/ipset ${IDIR_IPSET}/usr/sbin
  24. ${CP} ${WRKINST}/usr/lib/ipset/*.so ${IDIR_IPSET}/usr/lib/ipset/
  25. include ${TOPDIR}/mk/pkg-bottom.mk