Root/package/bridge-utils/Makefile

1#
2# Copyright (C) 2006-2012 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9include $(INCLUDE_DIR)/kernel.mk
10
11PKG_NAME:=bridge-utils
12PKG_RELEASE:=1
13PKG_SOURCE_URL:=@SF/bridge
14PKG_VERSION:=1.5
15PKG_MD5SUM:=ec7b381160b340648dede58c31bb2238
16
17PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
18
19include $(INCLUDE_DIR)/package.mk
20
21define Package/bridge
22  SECTION:=net
23  CATEGORY:=Base system
24  TITLE:=Ethernet bridging configuration utility
25  URL:=http://bridge.sourceforge.net/
26endef
27
28define Package/bridge/description
29 Manage ethernet bridging: a way to connect networks together to
30 form a larger network.
31endef
32
33CONFIGURE_ARGS += \
34    --with-linux-headers="$(LINUX_DIR)" \
35
36define Build/Prepare
37$(call Build/Prepare/Default)
38    ( cd $(PKG_BUILD_DIR) ; \
39        [ -f ./configure ] || { \
40            ln -sf configure.in configure.ac ; \
41            autoconf ; \
42        } \
43    )
44endef
45
46define Package/bridge/install
47    $(INSTALL_DIR) $(1)/usr/sbin
48    $(INSTALL_BIN) $(PKG_BUILD_DIR)/brctl/brctl $(1)/usr/sbin
49endef
50
51$(eval $(call BuildPackage,bridge))
52

Archive Download this file



interactive