2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
12 PKG_VERSION
:=2.0.8-rc2
15 PKG_SOURCE
:=$(PKG_NAME
)-v
$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=@SF
/ebtables
17 PKG_MD5SUM
:=f07111fcc1966be669278433c35dcc28
20 PKG_BUILD_DIR
:=$(BUILD_DIR
)/ebtables-v
$(PKG_VERSION
)
22 include $(INCLUDE_DIR
)/package.mk
24 define Package
/ebtables
27 TITLE
:=Ethernet bridge firewall administration utility
28 URL
:=http
://ebtables.sourceforge.net
/
31 define Package
/ebtables
/install
32 $(INSTALL_DIR
) $(1)/etc
33 $(INSTALL_DATA
) $(PKG_BUILD_DIR
)/ethertypes
$(1)/etc
/
34 $(INSTALL_DIR
) $(1)/usr
/lib
/ebtables
35 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/lib
*.so
$(1)/usr
/lib
/
36 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/extensions
/*.so
$(1)/usr
/lib
/ebtables
/
37 $(INSTALL_DIR
) $(1)/usr
/sbin
38 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/ebtables
$(1)/usr
/sbin
/
39 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/ebtables-save
$(1)/usr
/sbin
/
40 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/ebtables-restore
$(1)/usr
/sbin
/
43 $(eval
$(call BuildPackage
,ebtables
))