# SliTaz package receipt.

PACKAGE="perl-encode-locale"
VERSION="1.03"
CATEGORY="development"
SHORT_DESC="Determine the locale encoding"
MAINTAINER="slaxemulator@gmail.com"
WEB_SITE="http://search.cpan.org/dist/Encode-Locale"
SOURCE="Encode-Locale"
TARBALL="$SOURCE-$VERSION.tar.gz"
WGET_URL="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$TARBALL"

DEPENDS="perl"
BUILD_DEPENDS="perl"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	perl Makefile.PL &&
	make &&
	make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	cp -a $install/* $fs
}