Makefile 1004 B

123456789101112131415161718192021222324252627
  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:= ebtables
  5. PKG_VERSION:= 2.0.11
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= b71f654784a726329f88b412ef7b96b4e5d786ed2bd28193ed7b4c0d677dfd2a
  8. PKG_DESCR:= ethernet bridging firewall tool
  9. PKG_SECTION:= net/route
  10. PKG_SITES:= https://www.netfilter.org/pub/ebtables/
  11. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  12. include ${ADK_TOPDIR}/mk/package.mk
  13. $(eval $(call PKG_template,EBTABLES,ebtables,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. ebtables-install:
  15. ${INSTALL_DIR} ${IDIR_EBTABLES}/etc
  16. ${INSTALL_DIR} ${IDIR_EBTABLES}/usr/sbin ${IDIR_EBTABLES}/usr/lib
  17. ${INSTALL_DATA} ${WRKINST}/etc/ethertypes ${IDIR_EBTABLES}/etc
  18. ${INSTALL_BIN} ${WRKINST}/usr/sbin/ebtables-legacy ${IDIR_EBTABLES}/usr/sbin/ebtables
  19. ${CP} ${WRKINST}/usr/lib/*.so ${IDIR_EBTABLES}/usr/lib
  20. include ${ADK_TOPDIR}/mk/pkg-bottom.mk