Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233
  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.10
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 506742a3d44b9925955425a659c1a8d0
  8. PKG_DESCR:= ethernet bridging firewall tool
  9. PKG_SECTION:= firewall
  10. PKG_URL:= http://ebtables.sourceforge.net
  11. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=ebtables/}
  12. PKG_ARCH_DEPENDS:= !avr32
  13. DISTFILES:= ${PKG_NAME}-v${PKG_VERSION}-4.tar.gz
  14. WRKDIST= ${WRKDIR}/${PKG_NAME}-v${PKG_VERSION}-4
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,EBTABLES,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIG_STYLE:= manual
  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