upgrade busybox to v1.11.2 and add current upstream fixes
[openwrt.git] / package / bridge-utils / Makefile
1 #
2 # Copyright (C) 2006-2008 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
9 include $(TOPDIR)/rules.mk
10 include $(INCLUDE_DIR)/kernel.mk
11
12 PKG_NAME:=bridge-utils
13 PKG_RELEASE:=1
14 PKG_SOURCE_URL:=@SF/bridge
15
16 ifeq ($(CONFIG_LINUX_2_4),y)
17 PKG_VERSION:=1.0.6
18 PKG_MD5SUM:=9b7dc52656f5cbec846a7ba3299f73bd
19 endif
20
21 ifeq ($(CONFIG_LINUX_2_6),y)
22 PKG_VERSION:=1.4
23 PKG_MD5SUM:=0182fcac3a2b307113bbec34e5f1c673
24 endif
25
26 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
27
28 include $(INCLUDE_DIR)/package.mk
29
30 define Package/bridge
31 SECTION:=net
32 CATEGORY:=Base system
33 TITLE:=Ethernet bridging configuration utility
34 URL:=http://bridge.sourceforge.net/
35 endef
36
37 define Package/bridge/description
38 Manage ethernet bridging: a way to connect networks together to
39 form a larger network.
40 endef
41
42 CONFIGURE_ARGS += \
43 --with-linux-headers="$(LINUX_DIR)" \
44
45 define Build/Configure
46 (cd $(PKG_BUILD_DIR); \
47 [ "$(PKG_VERSION)" = "1.0.6" ] || ln -s configure.in configure.ac; \
48 autoconf; \
49 ./configure $(CONFIGURE_ARGS) \
50 )
51 endef
52
53 define Package/bridge/install
54 $(INSTALL_DIR) $(1)/usr/sbin
55 $(INSTALL_BIN) $(PKG_BUILD_DIR)/brctl/brctl $(1)/usr/sbin/
56 endef
57
58 $(eval $(call BuildPackage,bridge))
This page took 0.047294 seconds and 5 git commands to generate.