# SliTaz package receipt.

PACKAGE="thunderbird-langpack-es_ES"
VERSION="11.0.1"
CATEGORY="network"
SHORT_DESC="locale for mozilla thunderbird"
MAINTAINER="domcox@slitaz.org"
DEPENDS="thunderbird"
WEB_SITE="http://www.mozillamessaging.com/"
LANG=`echo $PACKAGE | cut -d'-' -f3 | tr '_' '-'`
LANG_DIR="langpack-$LANG@thunderbird.mozilla.org"
TARBALL="$LANG.xpi"
WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/linux-i686/xpi/$TARBALL"

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	EXTDIR="$fs/usr/lib/thunderbird/extensions/$LANG_DIR"
	mkdir -p $EXTDIR
	cp -a $src/* $EXTDIR
}