Makefile 1.0 KB

1234567891011121314151617181920212223242526272829303132
  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. BUILD_STYLE:= auto
  17. INSTALL_STYLE:= auto
  18. post-install:
  19. ${INSTALL_DIR} ${IDIR_EBTABLES}/etc
  20. ${INSTALL_DIR} ${IDIR_EBTABLES}/usr/sbin ${IDIR_EBTABLES}/usr/lib
  21. ${INSTALL_DATA} ${WRKINST}/etc/ethertypes ${IDIR_EBTABLES}/etc
  22. ${INSTALL_BIN} ${WRKINST}/usr/sbin/ebtables ${IDIR_EBTABLES}/usr/sbin
  23. ${CP} ${WRKINST}/usr/lib/*.so ${IDIR_EBTABLES}/usr/lib
  24. include ${TOPDIR}/mk/pkg-bottom.mk