Makefile 887 B

12345678910111213141516171819202122232425262728
  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:= bridge-utils
  5. PKG_VERSION:= 1.4
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 0182fcac3a2b307113bbec34e5f1c673
  8. PKG_DESCR:= Ethernet bridging tools
  9. PKG_SECTION:= net
  10. PKG_URL:= http://www.linuxfoundation.org/en/Net:Bridge
  11. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=bridge/}
  12. include ${TOPDIR}/mk/package.mk
  13. $(eval $(call PKG_template,BRIDGE_UTILS,bridge-utils,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. CONFIGURE_STYLE= autoconf gnu
  15. CONFIGURE_ARGS+= --with-linux-headers=${LINUX_DIR}
  16. BUILD_STYLE= auto
  17. INSTALL_STYLE= auto
  18. post-install:
  19. ${INSTALL_DIR} ${IDIR_BRIDGE_UTILS}/usr/sbin
  20. ${INSTALL_BIN} ${WRKINST}/usr/sbin/brctl ${IDIR_BRIDGE_UTILS}/usr/sbin/
  21. include ${TOPDIR}/mk/pkg-bottom.mk