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
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=http
://world.maxina.de
/src
/
17 PKG_MD5SUM
:=da06846f35838b14d1513523dad84d24
19 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
20 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
22 include $(INCLUDE_DIR
)/package.mk
27 TITLE
:=Source Hardware Address Translation
28 URL
:=http
://www.teddy-net.com
/cvs
/Maxina
/128gw
/service
/arpcatch
/shat
/
31 define Package
/shat
/description
32 A tool which allows hosts with arbitrary IP configuration
33 to connect to the internet over a SHAT gateway.
38 $(MAKE
) -C
$(PKG_BUILD_DIR
)/src \
40 CFLAGS
="$(TARGET_CFLAGS) -Wall -I$(PKG_BUILD_DIR)/include/linux/include -I$(PKG_BUILD_DIR)/include -DVERSION=\\\"$(PKG_VERSION)\\\" -DDROP_NETBIOS"
43 define Package
/shat
/install
44 $(INSTALL_DIR
) $(1)/usr
/sbin
45 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/src
/shatd
$(1)/usr
/sbin
/
46 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/src
/shatc
$(1)/usr
/sbin
/
49 $(eval
$(call BuildPackage
,shat
))