wok-current annotate thunderbird-langpack-it/receipt @ rev 14988
thunderbird-langpack-*: fix TARBALL, add VERSION to poison src cache
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 09 00:43:47 2013 +0000 (2013-08-09) |
parents | b592b7b5f6d7 |
children | b306279ad3d1 |
rev | line source |
---|---|
domcox@14215 | 1 # SliTaz package receipt. |
domcox@14215 | 2 |
domcox@14215 | 3 PACKAGE="thunderbird-langpack-it" |
domcox@14982 | 4 VERSION="17.0.8esr" |
domcox@14215 | 5 CATEGORY="network" |
domcox@14215 | 6 SHORT_DESC="Italian Language Package for thunderbird" |
domcox@14215 | 7 MAINTAINER="domcox@slitaz.org" |
domcox@14215 | 8 DEPENDS="thunderbird" |
domcox@14215 | 9 WEB_SITE="http://www.mozillamessaging.com/" |
domcox@14215 | 10 LANG=$(echo $PACKAGE | cut -d'-' -f3 | tr '_' '-') |
domcox@14215 | 11 LANG_DIR="langpack-$LANG@thunderbird.mozilla.org" |
pascal@14988 | 12 TARBALL="$PACKAGE-$VERSION.xpi" |
pascal@14988 | 13 WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/linux-i686/xpi/$LANG.xpi" |
domcox@14215 | 14 |
domcox@14215 | 15 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@14215 | 16 genpkg_rules() |
domcox@14215 | 17 { |
domcox@14215 | 18 EXTDIR="$fs/usr/lib/thunderbird-$VERSION/extensions/$LANG_DIR" |
domcox@14215 | 19 mkdir -p $EXTDIR |
domcox@14215 | 20 cp -a $src/* $EXTDIR |
domcox@14215 | 21 } |