3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:=b7bd60580f74998ae7733e4711942c74
9 PKG_SOURCE_URL
:=http
://heyu.tanj.com
/heyu2
/
10 PKG_SOURCE
:=heyu-
$(PKG_VERSION
).tgz
11 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
14 include $(TOPDIR
)/package
/rules.mk
16 $(eval
$(call PKG_template
,HEYU
,$(PKG_NAME
),$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
18 $(PKG_BUILD_DIR
)/.configured
:
21 $(PKG_BUILD_DIR
)/.built
:
22 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
23 CC
=$(TARGET_CC
) LD
=$(TARGET_CROSS
)ld \
24 CFLAGS
="$(TARGET_CFLAGS) -I$(PKG_BUILD_DIR) -DSYSV -DPOSIX -DHAS_ITIMER -DLINUX -DHASSELECT -DHASTZ"
28 install -d
-m0755
$(IDIR_HEYU
)/etc
/$(PKG_NAME
)
29 install -m0644 .
/files
/x10.conf
$(IDIR_HEYU
)/etc
/$(PKG_NAME
)/x10.conf
30 install -d
-m0755
$(IDIR_HEYU
)/usr
/bin
31 install -m0644
$(PKG_BUILD_DIR
)/heyu
$(IDIR_HEYU
)/usr
/bin
/
32 $(RSTRIP
) $(IDIR_HEYU
)
33 $(IPKG_BUILD
) $(IDIR_HEYU
) $(PACKAGE_DIR
)