Makefile 1.0 KB

12345678910111213141516171819202122232425262728293031
  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:= ebtables
  5. PKG_VERSION:= 2.0.9
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 0e0c20adf2bba6d91dbd0b74a1a38c33
  8. PKG_DESCR:= ethernet bridging firewall tool
  9. PKG_SECTION:= net
  10. PKG_URL:= http://ebtables.sourceforge.net
  11. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=ebtables/}
  12. DISTFILES:= ${PKG_NAME}-v${PKG_VERSION}-1.tar.gz
  13. WRKDIST= ${WRKDIR}/${PKG_NAME}-v${PKG_VERSION}-1
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,EBTABLES,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIG_STYLE:= manual
  17. post-install:
  18. ${INSTALL_DIR} ${IDIR_EBTABLES}/etc
  19. ${INSTALL_DIR} ${IDIR_EBTABLES}/usr/sbin ${IDIR_EBTABLES}/usr/lib
  20. ${INSTALL_DATA} ${WRKINST}/etc/ethertypes ${IDIR_EBTABLES}/etc
  21. ${INSTALL_BIN} ${WRKINST}/usr/sbin/ebtables ${IDIR_EBTABLES}/usr/sbin
  22. ${CP} ${WRKINST}/usr/lib/*.so ${IDIR_EBTABLES}/usr/lib
  23. include ${TOPDIR}/mk/pkg-bottom.mk