Makefile 1.1 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 ${ADK_TOPDIR}/rules.mk
  4. PKG_NAME:= ipset
  5. PKG_VERSION:= 4.1
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 116ee704355d52919af65379ddb69545e5d4d4602adf2f3765fc649929e7a47a
  8. PKG_DESCR:= ip sets administration utility
  9. PKG_SECTION:= net/firewall
  10. PKG_URL:= http://ipset.netfilter.org/
  11. PKG_SITES:= http://ipset.netfilter.org/
  12. PKG_ARCH_DEPENDS:= !arm
  13. PKG_CFLINE_IPSET:= depends on !ADK_TOOLCHAIN_ONLY
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  15. include ${ADK_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 ${ADK_TOPDIR}/mk/pkg-bottom.mk