Makefile 1002 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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_CAT:=zcat
  16. PKG_BUILD_DIR:=$(BUILD_DIR)/bridge-utils-$(PKG_VERSION)
  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. define Build/Configure
  28. $(call Build/Configure/Default, \
  29. --with-linux-headers="$(LINUX_DIR)" \
  30. )
  31. endef
  32. define Package/bridge/install
  33. $(INSTALL_DIR) $(1)/usr/sbin
  34. $(INSTALL_BIN) $(PKG_BUILD_DIR)/brctl/brctl $(1)/usr/sbin/
  35. endef
  36. $(eval $(call BuildPackage,bridge))