3 include $(TOPDIR
)/rules.mk
9 PKG_BUILD_DIR
:=$(BUILD_DIR
)/ebtables-v
$(PKG_VERSION
)
10 PKG_SOURCE
:=$(PKG_NAME
)-v
$(PKG_VERSION
).
tar.gz
11 PKG_SOURCE_URL
:=@SF
/ebtables
12 PKG_MD5SUM
:=f07111fcc1966be669278433c35dcc28
15 include $(TOPDIR
)/include/package.mk
17 define Package
/ebtables
20 TITLE
:=Ethernet bridge firewall administration utility
21 DESCRIPTION
:=Ethernet Bridge Firewalling
(ebtables
)
22 URL
:=http
://ebtables.sourceforge.net
/
25 define Package
/ebtables
/install
26 install -d
-m0755
$(1)/etc
27 install -m0644
$(PKG_BUILD_DIR
)/ethertypes
$(1)/etc
/
28 install -d
-m0755
$(1)/usr
/lib
/ebtables
29 install -m0755
$(PKG_BUILD_DIR
)/lib
*.so
$(1)/usr
/lib
/
30 install -m0755
$(PKG_BUILD_DIR
)/extensions
/*.so
$(1)/usr
/lib
/ebtables
/
31 install -d
-m0755
$(1)/usr
/sbin
32 install -m0755
$(PKG_BUILD_DIR
)/ebtables
$(1)/usr
/sbin
/
33 install -m0755
$(PKG_BUILD_DIR
)/ebtables-save
$(1)/usr
/sbin
/
34 install -m0755
$(PKG_BUILD_DIR
)/ebtables-restore
$(1)/usr
/sbin
/
37 $(eval
$(call BuildPackage
,ebtables
))