mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-25 16:01:53 +02:00
ikog.py: using UNPACK_CMD instead of download everytime compile
This commit is contained in:
parent
cd33c1caf8
commit
f93258ccb6
@ -3,6 +3,9 @@ include $(TOPDIR)/rules.mk
|
|||||||
PKG_NAME:=ikog
|
PKG_NAME:=ikog
|
||||||
PKG_VERSION:=1.90
|
PKG_VERSION:=1.90
|
||||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||||
|
PKG_SOURCE:=$(PKG_NAME).py.gz
|
||||||
|
PKG_SOURCE_URL:=http://www.henspace.co.uk/ikog/app/
|
||||||
|
UNPACK_CMD=zcat $(DL_DIR)/$(PKG_SOURCE) > $(1)/ikog.py
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
@ -17,15 +20,6 @@ define Package/ikog/description
|
|||||||
the simple todo list
|
the simple todo list
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Prepare
|
|
||||||
( \
|
|
||||||
mkdir $(PKG_BUILD_DIR); \
|
|
||||||
cd $(PKG_BUILD_DIR); \
|
|
||||||
wget http://www.henspace.co.uk/ikog/app/$(PKG_NAME).py.gz; \
|
|
||||||
gzip -d $(PKG_NAME).py.gz; \
|
|
||||||
)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user