wok-4.x rev 7528

Fixed all thunderbird-langpack to save sources into src repo folder.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Dec 05 23:19:23 2010 +0000 (2010-12-05)
parents 0192b7b7169c
children 90bf85843148
files thunderbird-langpack-en_GB/receipt thunderbird-langpack-es_ES/receipt thunderbird-langpack-fr/receipt thunderbird-langpack-pt_BR/receipt thunderbird-langpack-pt_PT/receipt thunderbird-langpack-ru/receipt
line diff
     1.1 --- a/thunderbird-langpack-en_GB/receipt	Sun Dec 05 21:45:02 2010 +0000
     1.2 +++ b/thunderbird-langpack-en_GB/receipt	Sun Dec 05 23:19:23 2010 +0000
     1.3 @@ -8,24 +8,26 @@
     1.4  DEPENDS="thunderbird"
     1.5  SOURCE="thunderbird"
     1.6  WEB_SITE="http://www.mozillamessaging.com/"
     1.7 +LANG=`echo $PACKAGE | cut -d'-' -f3 | tr '_' '-'`
     1.8 +LANG_DIR="langpack-$LANG@thunderbird.mozilla.org"
     1.9 +TARBALL="$LANG.xpi"
    1.10 +URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/linux-i686/xpi/$TARBALL"
    1.11  
    1.12  # Rules to configure and make the package.
    1.13  compile_rules()
    1.14  {
    1.15  	cd $WOK/$PACKAGE
    1.16 -	LANG=`echo $PACKAGE | cut -d'-' -f3 |  tr '_' '-'`
    1.17 +	
    1.18  	# Get xpi
    1.19 -	WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/linux-i686/xpi/$LANG.xpi"
    1.20 -	if [ -e $LANG.xpi ]; then
    1.21 -		echo "Using current langpack ($LANG.xpi)"
    1.22 +	if [ -f $SOURCES_REPOSITORY/$PACKAGE-$VERSION.xpi ]; then
    1.23 +		echo "Using current langpack ($PACKAGE-$VERSION.xpi)"
    1.24  	else
    1.25 -		echo "Downloading langpack ($LANG.xpi)"
    1.26 -		wget $WGET_URL
    1.27 +		echo "Downloading langpack ($PACKAGE-$VERSION.xpi)"
    1.28 +		wget -O $SOURCES_REPOSITORY/$PACKAGE-$VERSION.xpi $URL
    1.29  	fi
    1.30  	# Uncompress
    1.31 -	echo -n "Uncompressing langpack ($LANG.xpi)"
    1.32 -	LANG_DIR="langpack-$LANG@thunderbird.mozilla.org"
    1.33 -	mkdir -p $LANG_DIR && unzip -oq $LANG.xpi -d $LANG_DIR
    1.34 +	echo -n "Uncompressing langpack ($PACKAGE-$VERSION.xpi)"
    1.35 +	mkdir -p $LANG_DIR && unzip -oq $SOURCES_REPOSITORY/$PACKAGE-$VERSION.xpi -d $LANG_DIR
    1.36  	status
    1.37  }
    1.38  
    1.39 @@ -35,4 +37,4 @@
    1.40  	EXTDIR="$fs/usr/lib/$SOURCE-$VERSION/extensions"
    1.41  	mkdir -p $EXTDIR
    1.42  	cp -a $LANG_DIR $EXTDIR
    1.43 -}
    1.44 +}
    1.45 \ No newline at end of file
     2.1 --- a/thunderbird-langpack-es_ES/receipt	Sun Dec 05 21:45:02 2010 +0000
     2.2 +++ b/thunderbird-langpack-es_ES/receipt	Sun Dec 05 23:19:23 2010 +0000
     2.3 @@ -8,24 +8,26 @@
     2.4  DEPENDS="thunderbird"
     2.5  SOURCE="thunderbird"
     2.6  WEB_SITE="http://www.mozillamessaging.com/"
     2.7 +LANG=`echo $PACKAGE | cut -d'-' -f3 | tr '_' '-'`
     2.8 +LANG_DIR="langpack-$LANG@thunderbird.mozilla.org"
     2.9 +TARBALL="$LANG.xpi"
    2.10 +URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/linux-i686/xpi/$TARBALL"
    2.11  
    2.12  # Rules to configure and make the package.
    2.13  compile_rules()
    2.14  {
    2.15  	cd $WOK/$PACKAGE
    2.16 -	LANG=`echo $PACKAGE | cut -d'-' -f3 | tr '_' '-'`
    2.17 +	
    2.18  	# Get xpi
    2.19 -	WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/linux-i686/xpi/$LANG.xpi"
    2.20 -	if [ -e $LANG.xpi ]; then
    2.21 -		echo "Using current langpack ($LANG.xpi)"
    2.22 +	if [ -f $SOURCES_REPOSITORY/$PACKAGE-$VERSION.xpi ]; then
    2.23 +		echo "Using current langpack ($PACKAGE-$VERSION.xpi)"
    2.24  	else
    2.25 -		echo "Downloading langpack ($LANG.xpi)"
    2.26 -		wget $WGET_URL
    2.27 +		echo "Downloading langpack ($PACKAGE-$VERSION.xpi)"
    2.28 +		wget -O $SOURCES_REPOSITORY/$PACKAGE-$VERSION.xpi $URL
    2.29  	fi
    2.30  	# Uncompress
    2.31 -	echo -n "Uncompressing langpack ($LANG.xpi)"
    2.32 -	LANG_DIR="langpack-$LANG@thunderbird.mozilla.org"
    2.33 -	mkdir -p $LANG_DIR && unzip -oq $LANG.xpi -d $LANG_DIR
    2.34 +	echo -n "Uncompressing langpack ($PACKAGE-$VERSION.xpi)"
    2.35 +	mkdir -p $LANG_DIR && unzip -oq $SOURCES_REPOSITORY/$PACKAGE-$VERSION.xpi -d $LANG_DIR
    2.36  	status
    2.37  }
    2.38  
     3.1 --- a/thunderbird-langpack-fr/receipt	Sun Dec 05 21:45:02 2010 +0000
     3.2 +++ b/thunderbird-langpack-fr/receipt	Sun Dec 05 23:19:23 2010 +0000
     3.3 @@ -8,24 +8,26 @@
     3.4  DEPENDS="thunderbird"
     3.5  SOURCE="thunderbird"
     3.6  WEB_SITE="http://www.mozillamessaging.com/"
     3.7 +LANG=`echo $PACKAGE | cut -d'-' -f3 | tr '_' '-'`
     3.8 +LANG_DIR="langpack-$LANG@thunderbird.mozilla.org"
     3.9 +TARBALL="$LANG.xpi"
    3.10 +URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/linux-i686/xpi/$TARBALL"
    3.11  
    3.12  # Rules to configure and make the package.
    3.13  compile_rules()
    3.14  {
    3.15  	cd $WOK/$PACKAGE
    3.16 -	LANG=`echo $PACKAGE | cut -d'-' -f3 | tr '_' '-'`
    3.17 +	
    3.18  	# Get xpi
    3.19 -	WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/linux-i686/xpi/$LANG.xpi"
    3.20 -	if [ -e $LANG.xpi ]; then
    3.21 -		echo "Using current langpack ($LANG.xpi)"
    3.22 +	if [ -f $SOURCES_REPOSITORY/$PACKAGE-$VERSION.xpi ]; then
    3.23 +		echo "Using current langpack ($PACKAGE-$VERSION.xpi)"
    3.24  	else
    3.25 -		echo "Downloading langpack ($LANG.xpi)"
    3.26 -		wget $WGET_URL
    3.27 +		echo "Downloading langpack ($PACKAGE-$VERSION.xpi)"
    3.28 +		wget -O $SOURCES_REPOSITORY/$PACKAGE-$VERSION.xpi $URL
    3.29  	fi
    3.30  	# Uncompress
    3.31 -	echo -n "Uncompressing langpack ($LANG.xpi)"
    3.32 -	LANG_DIR="langpack-$LANG@thunderbird.mozilla.org"
    3.33 -	mkdir -p $LANG_DIR && unzip -oq $LANG.xpi -d $LANG_DIR
    3.34 +	echo -n "Uncompressing langpack ($PACKAGE-$VERSION.xpi)"
    3.35 +	mkdir -p $LANG_DIR && unzip -oq $SOURCES_REPOSITORY/$PACKAGE-$VERSION.xpi -d $LANG_DIR
    3.36  	status
    3.37  }
    3.38  
     4.1 --- a/thunderbird-langpack-pt_BR/receipt	Sun Dec 05 21:45:02 2010 +0000
     4.2 +++ b/thunderbird-langpack-pt_BR/receipt	Sun Dec 05 23:19:23 2010 +0000
     4.3 @@ -8,24 +8,26 @@
     4.4  DEPENDS="thunderbird"
     4.5  SOURCE="thunderbird"
     4.6  WEB_SITE="http://www.mozillamessaging.com/"
     4.7 +LANG=`echo $PACKAGE | cut -d'-' -f3 | tr '_' '-'`
     4.8 +LANG_DIR="langpack-$LANG@thunderbird.mozilla.org"
     4.9 +TARBALL="$LANG.xpi"
    4.10 +URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/linux-i686/xpi/$TARBALL"
    4.11  
    4.12  # Rules to configure and make the package.
    4.13  compile_rules()
    4.14  {
    4.15  	cd $WOK/$PACKAGE
    4.16 -	LANG=`echo $PACKAGE | cut -d'-' -f3 | tr '_' '-'`
    4.17 +	
    4.18  	# Get xpi
    4.19 -	WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/linux-i686/xpi/$LANG.xpi"
    4.20 -	if [ -e $LANG.xpi ]; then
    4.21 -		echo "Using current langpack ($LANG.xpi)"
    4.22 +	if [ -f $SOURCES_REPOSITORY/$PACKAGE-$VERSION.xpi ]; then
    4.23 +		echo "Using current langpack ($PACKAGE-$VERSION.xpi)"
    4.24  	else
    4.25 -		echo "Downloading langpack ($LANG.xpi)"
    4.26 -		wget $WGET_URL
    4.27 +		echo "Downloading langpack ($PACKAGE-$VERSION.xpi)"
    4.28 +		wget -O $SOURCES_REPOSITORY/$PACKAGE-$VERSION.xpi $URL
    4.29  	fi
    4.30  	# Uncompress
    4.31 -	echo -n "Uncompressing langpack ($LANG.xpi)"
    4.32 -	LANG_DIR="langpack-$LANG@thunderbird.mozilla.org"
    4.33 -	mkdir -p $LANG_DIR && unzip -oq $LANG.xpi -d $LANG_DIR
    4.34 +	echo -n "Uncompressing langpack ($PACKAGE-$VERSION.xpi)"
    4.35 +	mkdir -p $LANG_DIR && unzip -oq $SOURCES_REPOSITORY/$PACKAGE-$VERSION.xpi -d $LANG_DIR
    4.36  	status
    4.37  }
    4.38  
     5.1 --- a/thunderbird-langpack-pt_PT/receipt	Sun Dec 05 21:45:02 2010 +0000
     5.2 +++ b/thunderbird-langpack-pt_PT/receipt	Sun Dec 05 23:19:23 2010 +0000
     5.3 @@ -8,24 +8,26 @@
     5.4  DEPENDS="thunderbird"
     5.5  SOURCE="thunderbird"
     5.6  WEB_SITE="http://www.mozillamessaging.com/"
     5.7 +LANG=`echo $PACKAGE | cut -d'-' -f3 | tr '_' '-'`
     5.8 +LANG_DIR="langpack-$LANG@thunderbird.mozilla.org"
     5.9 +TARBALL="$LANG.xpi"
    5.10 +URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/linux-i686/xpi/$TARBALL"
    5.11  
    5.12  # Rules to configure and make the package.
    5.13  compile_rules()
    5.14  {
    5.15  	cd $WOK/$PACKAGE
    5.16 -	LANG=`echo $PACKAGE | cut -d'-' -f3 | tr '_' '-'`
    5.17 +	
    5.18  	# Get xpi
    5.19 -	WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/linux-i686/xpi/$LANG.xpi"
    5.20 -	if [ -e $LANG.xpi ]; then
    5.21 -		echo "Using current langpack ($LANG.xpi)"
    5.22 +	if [ -f $SOURCES_REPOSITORY/$PACKAGE-$VERSION.xpi ]; then
    5.23 +		echo "Using current langpack ($PACKAGE-$VERSION.xpi)"
    5.24  	else
    5.25 -		echo "Downloading langpack ($LANG.xpi)"
    5.26 -		wget $WGET_URL
    5.27 +		echo "Downloading langpack ($PACKAGE-$VERSION.xpi)"
    5.28 +		wget -O $SOURCES_REPOSITORY/$PACKAGE-$VERSION.xpi $URL
    5.29  	fi
    5.30  	# Uncompress
    5.31 -	echo -n "Uncompressing langpack ($LANG.xpi)"
    5.32 -	LANG_DIR="langpack-$LANG@thunderbird.mozilla.org"
    5.33 -	mkdir -p $LANG_DIR && unzip -oq $LANG.xpi -d $LANG_DIR
    5.34 +	echo -n "Uncompressing langpack ($PACKAGE-$VERSION.xpi)"
    5.35 +	mkdir -p $LANG_DIR && unzip -oq $SOURCES_REPOSITORY/$PACKAGE-$VERSION.xpi -d $LANG_DIR
    5.36  	status
    5.37  }
    5.38  
     6.1 --- a/thunderbird-langpack-ru/receipt	Sun Dec 05 21:45:02 2010 +0000
     6.2 +++ b/thunderbird-langpack-ru/receipt	Sun Dec 05 23:19:23 2010 +0000
     6.3 @@ -8,24 +8,26 @@
     6.4  DEPENDS="thunderbird"
     6.5  SOURCE="thunderbird"
     6.6  WEB_SITE="http://www.mozillamessaging.com/"
     6.7 +LANG=`echo $PACKAGE | cut -d'-' -f3 | tr '_' '-'`
     6.8 +LANG_DIR="langpack-$LANG@thunderbird.mozilla.org"
     6.9 +TARBALL="$LANG.xpi"
    6.10 +URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/linux-i686/xpi/$TARBALL"
    6.11  
    6.12  # Rules to configure and make the package.
    6.13  compile_rules()
    6.14  {
    6.15  	cd $WOK/$PACKAGE
    6.16 -	LANG=`echo $PACKAGE | cut -d'-' -f3 | tr '_' '-'`
    6.17 +	
    6.18  	# Get xpi
    6.19 -	WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/linux-i686/xpi/$LANG.xpi"
    6.20 -	if [ -e $LANG.xpi ]; then
    6.21 -		echo "Using current langpack ($LANG.xpi)"
    6.22 +	if [ -f $SOURCES_REPOSITORY/$PACKAGE-$VERSION.xpi ]; then
    6.23 +		echo "Using current langpack ($PACKAGE-$VERSION.xpi)"
    6.24  	else
    6.25 -		echo "Downloading langpack ($LANG.xpi)"
    6.26 -		wget $WGET_URL
    6.27 +		echo "Downloading langpack ($PACKAGE-$VERSION.xpi)"
    6.28 +		wget -O $SOURCES_REPOSITORY/$PACKAGE-$VERSION.xpi $URL
    6.29  	fi
    6.30  	# Uncompress
    6.31 -	echo -n "Uncompressing langpack ($LANG.xpi)"
    6.32 -	LANG_DIR="langpack-$LANG@thunderbird.mozilla.org"
    6.33 -	mkdir -p $LANG_DIR && unzip -oq $LANG.xpi -d $LANG_DIR
    6.34 +	echo -n "Uncompressing langpack ($PACKAGE-$VERSION.xpi)"
    6.35 +	mkdir -p $LANG_DIR && unzip -oq $SOURCES_REPOSITORY/$PACKAGE-$VERSION.xpi -d $LANG_DIR
    6.36  	status
    6.37  }
    6.38