replace lots of manual install commands with INSTALL_* variables
[openwrt.git] / package / bridge / Makefile
1 #
2 # Copyright (C) 2006 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
11 PKG_NAME:=bridge
12 PKG_VERSION:=1.0.6
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=bridge-utils-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=@SF/bridge
17 PKG_MD5SUM:=9b7dc52656f5cbec846a7ba3299f73bd
18 PKG_CAT:=zcat
19
20 PKG_BUILD_DIR:=$(BUILD_DIR)/bridge-utils-$(PKG_VERSION)
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define Package/bridge
25 SECTION:=net
26 CATEGORY:=Base system
27 TITLE:=Ethernet bridging configuration utility
28 DESCRIPTION:=\
29 Manage ethernet bridging: a way to connect networks together to \\\
30 form a larger network.
31 URL:=http://bridge.sourceforge.net/
32 endef
33
34 define Build/Configure
35 $(call Build/Configure/Default, \
36 --with-linux-headers="$(LINUX_DIR)" \
37 )
38 endef
39
40 define Package/bridge/install
41 $(INSTALL_DIR) $(1)/usr/sbin
42 $(INSTALL_BIN) $(PKG_BUILD_DIR)/brctl/brctl $(1)/usr/sbin/
43 endef
44
45 $(eval $(call BuildPackage,bridge))
This page took 0.047776 seconds and 5 git commands to generate.