Makefile 975 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #
  2. # Copyright (C) 2006 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. # $Id$
  8. include $(TOPDIR)/rules.mk
  9. include $(INCLUDE_DIR)/kernel.mk
  10. PKG_NAME:=bridge-utils
  11. PKG_VERSION:=1.0.6
  12. PKG_RELEASE:=1
  13. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  14. PKG_SOURCE_URL:=@SF/bridge
  15. PKG_MD5SUM:=9b7dc52656f5cbec846a7ba3299f73bd
  16. include $(INCLUDE_DIR)/kernel.mk
  17. include $(INCLUDE_DIR)/package.mk
  18. define Package/bridge
  19. SECTION:=net
  20. CATEGORY:=Base system
  21. TITLE:=Ethernet bridging configuration utility
  22. URL:=http://bridge.sourceforge.net/
  23. endef
  24. define Package/bridge/description
  25. Manage ethernet bridging: a way to connect networks together to
  26. form a larger network.
  27. endef
  28. CONFIGURE_ARGS += \
  29. --with-linux-headers="$(LINUX_DIR)" \
  30. define Package/bridge/install
  31. $(INSTALL_DIR) $(1)/usr/sbin
  32. $(INSTALL_BIN) $(PKG_BUILD_DIR)/brctl/brctl $(1)/usr/sbin/
  33. endef
  34. $(eval $(call BuildPackage,bridge))