Makefile 942 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  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)/package.mk
  17. define Package/bridge
  18. SECTION:=net
  19. CATEGORY:=Base system
  20. TITLE:=Ethernet bridging configuration utility
  21. URL:=http://bridge.sourceforge.net/
  22. endef
  23. define Package/bridge/description
  24. Manage ethernet bridging: a way to connect networks together to
  25. form a larger network.
  26. endef
  27. CONFIGURE_ARGS += \
  28. --with-linux-headers="$(LINUX_DIR)" \
  29. define Package/bridge/install
  30. $(INSTALL_DIR) $(1)/usr/sbin
  31. $(INSTALL_BIN) $(PKG_BUILD_DIR)/brctl/brctl $(1)/usr/sbin/
  32. endef
  33. $(eval $(call BuildPackage,bridge))