replace $(IDIR_*) with $(1)
[openwrt.git] / package / bridge / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=bridge
6 PKG_VERSION:=1.0.6
7 PKG_RELEASE:=1
8
9 PKG_BUILD_DIR:=$(BUILD_DIR)/bridge-utils-$(PKG_VERSION)
10 PKG_SOURCE:=bridge-utils-$(PKG_VERSION).tar.gz
11 PKG_SOURCE_URL:=@SF/bridge
12 PKG_MD5SUM:=9b7dc52656f5cbec846a7ba3299f73bd
13 PKG_CAT:=zcat
14
15 include $(TOPDIR)/package/rules.mk
16
17 define Package/bridge
18 SECTION:=base
19 CATEGORY:=Network
20 DEFAULT:=y
21 TITLE:=Ethernet bridging configuration utility
22 DESCRIPTION:=Ethernet bridging configuration utility\\\
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
28 define Build/Configure
29 $(call Build/Configure/Default,--with-linux-headers=$(LINUX_DIR))
30 endef
31
32 define Package/bridge/install
33         install -m0755 -d $(1)/usr/sbin
34         install -m0755 $(PKG_BUILD_DIR)/brctl/brctl $(1)/usr/sbin/
35 endef
36
37 $(eval $(call BuildPackage,bridge))