[package] libnl: fix compilation with eglibc (closes: #4785)
[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/Prepare
46 $(call Build/Prepare/Default)
47 ( cd $(PKG_BUILD_DIR) ; \
48 [ -f ./configure ] || { \
49 ln -sf configure.in configure.ac ; \
50 autoconf ; \
51 } \
52 )
53 endef
54
55 define Package/bridge/install
56 $(INSTALL_DIR) $(1)/usr/sbin
57 $(INSTALL_BIN) $(PKG_BUILD_DIR)/brctl/brctl $(1)/usr/sbin/
58 endef
59
60 $(eval $(call BuildPackage,bridge))
This page took 0.048666 seconds and 5 git commands to generate.