add missing kernel config option
[openwrt.git] / package / ebtables / 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:=ebtables
12 PKG_VERSION:=2.0.8-rc2
13 PKG_RELEASE:=2
14
15 PKG_SOURCE:=$(PKG_NAME)-v$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=@SF/ebtables
17 PKG_MD5SUM:=f07111fcc1966be669278433c35dcc28
18
19 PKG_BUILD_DIR:=$(BUILD_DIR)/ebtables-v$(PKG_VERSION)
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/ebtables
24 SECTION:=net
25 CATEGORY:=Network
26 TITLE:=Ethernet bridge firewall administration utility
27 URL:=http://ebtables.sourceforge.net/
28 endef
29
30 MAKE_FLAGS += \
31 CFLAGS="$(TARGET_CFLAGS)"
32
33 define Package/ebtables/install
34 $(INSTALL_DIR) $(1)/etc
35 $(INSTALL_DATA) $(PKG_BUILD_DIR)/ethertypes $(1)/etc/
36 $(INSTALL_DIR) $(1)/usr/lib/ebtables
37 $(INSTALL_BIN) $(PKG_BUILD_DIR)/lib*.so $(1)/usr/lib/
38 $(INSTALL_BIN) $(PKG_BUILD_DIR)/extensions/*.so $(1)/usr/lib/ebtables/
39 $(INSTALL_DIR) $(1)/usr/sbin
40 $(INSTALL_BIN) $(PKG_BUILD_DIR)/ebtables $(1)/usr/sbin/
41 $(INSTALL_BIN) $(PKG_BUILD_DIR)/ebtables-save $(1)/usr/sbin/
42 $(INSTALL_BIN) $(PKG_BUILD_DIR)/ebtables-restore $(1)/usr/sbin/
43 endef
44
45 $(eval $(call BuildPackage,ebtables))
This page took 0.046233 seconds and 5 git commands to generate.