3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:= fe29d5862a333af1f390052471a6dd0a
10 PKG_SOURCE_URL
:=http
://world.maxina.de
/src
/
11 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
14 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
15 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
17 include $(TOPDIR
)/package
/rules.mk
19 $(eval
$(call PKG_template
,SHAT
,shat
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
21 $(PKG_BUILD_DIR
)/.configured
:
22 touch
$(PKG_BUILD_DIR
)/.configured
24 $(PKG_BUILD_DIR
)/.built
:
25 $(MAKE
) -C
$(PKG_BUILD_DIR
)/src \
26 CC
=$(TARGET_CC
) LD
=$(TARGET_CROSS
)ld \
27 CFLAGS
="$(TARGET_CFLAGS) -Wall -I$(PKG_BUILD_DIR)/include/linux/include -I$(PKG_BUILD_DIR)/include -DVERSION=\\\"$(PKG_VERSION)\\\" -DDROP_NETBIOS"
28 touch
$(PKG_BUILD_DIR
)/.built
31 install -d
-m0755
$(IDIR_SHAT
)/usr
/sbin
32 install -m0755
$(PKG_BUILD_DIR
)/src
/shatd
$(IDIR_SHAT
)/usr
/sbin
/
33 install -m0755
$(PKG_BUILD_DIR
)/src
/shatc
$(IDIR_SHAT
)/usr
/sbin
/
34 $(RSTRIP
) $(IDIR_SHAT
)
35 $(IPKG_BUILD
) $(IDIR_SHAT
) $(PACKAGE_DIR
)