Source

wok-tank / squirrelmail-et_EE / receipt

Full commit
# SliTaz package receipt.

PACKAGE="squirrelmail-et_EE"
VERSION="1.4.13-20071220"
CATEGORY="network"
SHORT_DESC="Locale et_EE 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
}