Makefile 935 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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. PKG_NAME:=bridge
  10. PKG_VERSION:=1.0.6
  11. PKG_RELEASE:=1
  12. PKG_SOURCE:=bridge-utils-$(PKG_VERSION).tar.gz
  13. PKG_SOURCE_URL:=@SF/bridge
  14. PKG_MD5SUM:=9b7dc52656f5cbec846a7ba3299f73bd
  15. PKG_BUILD_DIR:=$(BUILD_DIR)/bridge-utils-$(PKG_VERSION)
  16. include $(INCLUDE_DIR)/package.mk
  17. define Package/bridge
  18. SECTION:=net
  19. CATEGORY:=Base system
  20. TITLE:=Ethernet bridging configuration utility
  21. DESCRIPTION:=\
  22. Manage ethernet bridging: a way to connect networks together to \\\
  23. form a larger network.
  24. URL:=http://bridge.sourceforge.net/
  25. endef
  26. CONFIGURE_ARGS += --with-linux-headers="$(LINUX_DIR)"
  27. define Package/bridge/install
  28. $(INSTALL_DIR) $(1)/usr/sbin
  29. $(INSTALL_BIN) $(PKG_BUILD_DIR)/brctl/brctl $(1)/usr/sbin/
  30. endef
  31. $(eval $(call BuildPackage,bridge))