# SliTaz package receipt.

PACKAGE="squirrelmail-el_GR"
VERSION="1.4.13-20071220"
CATEGORY="network"
SHORT_DESC="Locale el_GR for Web mail."
MAINTAINER="pascal.bellard@slitaz.org"
WANTED="squirrelmail-locales"
DEPENDS="squirrelmail"
WEB_SITE="http://www.squirrelmail.org/"

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr/share/squirrelmail/locale
	cp -a $src/locale/${PACKAGE#squirrelmail-} \
		$fs/usr/share/squirrelmail/locale
}

# Pre and post install commands for Tazpkg.
post_install()
{
	sed -i "s/^\$squirrelmail_default_language = .*/\$squirrelmail_default_language = '${PACKAGE#squirrelmail-}';/" /etc/squirrelmail/config.php
}