Makefile 968 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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)/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. DESCRIPTION:=\
  23. Manage ethernet bridging: a way to connect networks together to \\\
  24. form a larger network.
  25. URL:=http://bridge.sourceforge.net/
  26. endef
  27. CONFIGURE_ARGS += --with-linux-headers="$(LINUX_DIR)"
  28. define Package/bridge/install
  29. $(INSTALL_DIR) $(1)/usr/sbin
  30. $(INSTALL_BIN) $(PKG_BUILD_DIR)/brctl/brctl $(1)/usr/sbin/
  31. endef
  32. $(eval $(call BuildPackage,bridge))