1
0

Makefile 1012 B

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 ${ADK_TOPDIR}/rules.mk
  4. PKG_NAME:= bridge-utils
  5. PKG_VERSION:= 1.5
  6. PKG_RELEASE:= 2
  7. PKG_HASH:= 42f9e5fb8f6c52e63a98a43b81bd281c227c529f194913e1c51ec48a393b6688
  8. PKG_DESCR:= ethernet bridging tools
  9. PKG_SECTION:= net/route
  10. PKG_URL:= http://www.linuxfoundation.org/en/Net:Bridge
  11. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=bridge/}
  12. PKG_BB:= 1
  13. PKG_CFLINE_BRIDGE_UTILS:=select ADK_KERNEL_BRIDGE
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  15. include ${ADK_TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,BRIDGE_UTILS,bridge-utils,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. AUTOTOOL_STYLE:= autoconf
  18. CONFIGURE_ARGS+= --with-linux-headers=${LINUX_DIR}
  19. bridge-utils-install:
  20. ${INSTALL_DIR} ${IDIR_BRIDGE_UTILS}/usr/sbin
  21. ${INSTALL_BIN} ${WRKINST}/usr/sbin/brctl \
  22. ${IDIR_BRIDGE_UTILS}/usr/sbin
  23. include ${ADK_TOPDIR}/mk/pkg-bottom.mk