fix bridge build and description, add default configure command to rules.mk, use...
[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 Build/Compile
33 $(MAKE) -C $(PKG_BUILD_DIR)
34 endef
35
36 define Package/busybox/install
37 mkdir -p $(IDIR_BRIDGE)/usr/sbin
38 $(CP) $(PKG_BUILD_DIR)/brctl/brctl $(IDIR_BRIDGE)/usr/sbin/
39 $(STRIP) $(IDIR_BRIDGE)/usr/sbin/brctl
40 $(IPKG_BUILD) $(IDIR_BRIDGE) $(PACKAGE_DIR)
41 endef
42
43 $(eval $(call BuildPackage,bridge))
This page took 0.041816 seconds and 5 git commands to generate.