wok-4.x rev 8551

imported patch get/fcitx-zm
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Feb 13 22:57:56 2011 +0100 (2011-02-13)
parents 74e0a6e3f8be
children 1f48fd1fd933
files fcitx-zm/receipt
line diff
     1.1 --- a/fcitx-zm/receipt	Sun Feb 13 22:57:56 2011 +0100
     1.2 +++ b/fcitx-zm/receipt	Sun Feb 13 22:57:56 2011 +0100
     1.3 @@ -7,15 +7,11 @@
     1.4  MAINTAINER="lufeng369"
     1.5  DEPENDS="fcitx"
     1.6  BUILD_DEPENDS="fcitx"
     1.7 -FILE="zm.mb"
     1.8 -URL="http://fcitx.googlecode.com/files/$FILE"
     1.9 +TARBALL="zm.mb"
    1.10 +WGET_URL="http://fcitx.googlecode.com/files/$TARBALL"
    1.11  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.12  compile_rules()
    1.13  {
    1.14 -	cd $WOK/$PACKAGE
    1.15 -		echo "Downloading Archive" 
    1.16 -	        wget -O $SOURCES_REPOSITORY/$FILE $URL
    1.17 -	# re-generate
    1.18  	echo -n "Remove All Words,Remained Hanzi only"
    1.19  #	mkdir stuff
    1.20  	mb2txt $SOURCES_REPOSITORY/zm.mb | awk 'NR<=10{print} NR>10{if(length($2)==3)print}' > stuff/zm.txt
    1.21 @@ -30,6 +26,5 @@
    1.22  	mkdir -p $EXTDIR
    1.23  	cp stuff/zm.mb $EXTDIR	
    1.24  	cp stuff/zm.conf $EXTDIR
    1.25 -
    1.26  }
    1.27