Date:2011-01-06 09:49:44 (13 years 2 months ago)
Author:Xiangfu Liu
Commit:f93258ccb682c06e1d2c6ae429e501fa750a4fd7
Message:ikog.py: using UNPACK_CMD instead of download everytime compile

Files: ikog/Makefile (2 diffs)

Change Details

ikog/Makefile
33PKG_NAME:=ikog
44PKG_VERSION:=1.90
55PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
6PKG_SOURCE:=$(PKG_NAME).py.gz
7PKG_SOURCE_URL:=http://www.henspace.co.uk/ikog/app/
8UNPACK_CMD=zcat $(DL_DIR)/$(PKG_SOURCE) > $(1)/ikog.py
69
710include $(INCLUDE_DIR)/package.mk
811
...... 
1720    the simple todo list
1821endef
1922
20define Build/Prepare
21    ( \
22    mkdir $(PKG_BUILD_DIR); \
23    cd $(PKG_BUILD_DIR); \
24    wget http://www.henspace.co.uk/ikog/app/$(PKG_NAME).py.gz; \
25    gzip -d $(PKG_NAME).py.gz; \
26    )
27endef
28
2923define Build/Compile
3024endef
3125

Archive Download the corresponding diff file



interactive