[tools] mpc: update to 0.9
[openwrt.git] / package / bridge-utils / Makefile
1 #
2 # Copyright (C) 2006-2012 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9 include $(INCLUDE_DIR)/kernel.mk
10
11 PKG_NAME:=bridge-utils
12 PKG_RELEASE:=1
13 PKG_SOURCE_URL:=@SF/bridge
14 PKG_VERSION:=1.5
15 PKG_MD5SUM:=ec7b381160b340648dede58c31bb2238
16
17 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/bridge
22 SECTION:=net
23 CATEGORY:=Base system
24 TITLE:=Ethernet bridging configuration utility
25 URL:=http://bridge.sourceforge.net/
26 endef
27
28 define Package/bridge/description
29 Manage ethernet bridging: a way to connect networks together to
30 form a larger network.
31 endef
32
33 CONFIGURE_ARGS += \
34 --with-linux-headers="$(LINUX_DIR)" \
35
36 define Build/Prepare
37 $(call Build/Prepare/Default)
38 ( cd $(PKG_BUILD_DIR) ; \
39 [ -f ./configure ] || { \
40 ln -sf configure.in configure.ac ; \
41 autoconf ; \
42 } \
43 )
44 endef
45
46 define Package/bridge/install
47 $(INSTALL_DIR) $(1)/usr/sbin
48 $(INSTALL_BIN) $(PKG_BUILD_DIR)/brctl/brctl $(1)/usr/sbin
49 endef
50
51 $(eval $(call BuildPackage,bridge))
This page took 0.053748 seconds and 5 git commands to generate.