1 # Copyright (C) 2006 OpenWrt.org
3 # This is free software, licensed under the GNU General Public License v2.
4 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
13 PKG_MD5SUM
:=1672244603c8979577aa4738be35a759
15 PKG_SOURCE_URL
:=@SF
/ebtables
16 PKG_SOURCE
:=$(PKG_NAME
)-v
$(PKG_VERSION
).
tar.gz
19 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-v
$(PKG_VERSION
)
20 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
22 include $(INCLUDE_DIR
)/package.mk
24 define Package
/arptables
27 TITLE
:=ARP firewalling software
28 DESCRIPTION
:=ARP firewalling software
29 URL
:=http
://ebtables.sourceforge.net
33 rm -rf
$(PKG_INSTALL_DIR
)
34 mkdir
-p
$(PKG_INSTALL_DIR
)
35 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
36 CC
="$(TARGET_CC)" LD
="$(TARGET_CROSS)ld" \
37 COPT_FLAGS
="$(TARGET_CFLAGS)" \
38 KERNEL_DIR
="./include/linux"
41 define Package
/arptables
/install
42 install -m0755
-d
$(1)/usr
/sbin
43 $(CP
) $(PKG_BUILD_DIR
)/$(PKG_NAME
) $(1)/usr
/sbin
/
46 $(eval
$(call BuildPackage
,arptables
))
This page took 0.046395 seconds and 5 git commands to generate.