wok-6.x annotate thunderbird-langpack-ru/receipt @ rev 10730
slitaz-mercurial-style: fix TARBALL
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 29 04:12:19 2011 +0200 (2011-05-29) |
parents | de7c8bf6e8fc |
children | 84f8cd79ad7a |
rev | line source |
---|---|
domcox@6081 | 1 # SliTaz package receipt. |
domcox@6081 | 2 |
pascal@6088 | 3 PACKAGE="thunderbird-langpack-ru" |
slaxemulator@9654 | 4 VERSION="3.1.10" |
domcox@6081 | 5 CATEGORY="network" |
domcox@6081 | 6 SHORT_DESC="locale for mozilla thunderbird" |
domcox@6081 | 7 MAINTAINER="domcox@slitaz.org" |
domcox@6081 | 8 DEPENDS="thunderbird" |
pascal@6409 | 9 WEB_SITE="http://www.mozillamessaging.com/" |
slaxemulator@7528 | 10 LANG=`echo $PACKAGE | cut -d'-' -f3 | tr '_' '-'` |
slaxemulator@7528 | 11 LANG_DIR="langpack-$LANG@thunderbird.mozilla.org" |
slaxemulator@7528 | 12 TARBALL="$LANG.xpi" |
gokhlayeh@8579 | 13 WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/linux-i686/xpi/$TARBALL" |
domcox@6081 | 14 |
domcox@6081 | 15 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@6081 | 16 genpkg_rules() |
domcox@6081 | 17 { |
gokhlayeh@8579 | 18 EXTDIR="$fs/usr/lib/$SOURCE-$VERSION/extensions/$LANG_DIR" |
domcox@6081 | 19 mkdir -p $EXTDIR |
gokhlayeh@8579 | 20 cp -a $src/* $EXTDIR |
domcox@6081 | 21 } |