# SliTaz package receipt.

PACKAGE="perl-dbd-sqlite"
VERSION="1.37"
CATEGORY="development"
SHORT_DESC="DBD::SQLite module is a Perl extension."
MAINTAINER="admin@trixarian.net"
SOURCE="DBD-SQLite"
TARBALL="$SOURCE-$VERSION.tar.gz"
WEB_SITE="http://cpan.org/"
WGET_URL="http://cpan.org/authors/id/A/AD/ADAMK/$TARBALL"
DEPENDS="perl perl-dbi-dbd libsqlite"
BUILD_DEPENDS="perl perl-dbi-dbd sqlite-dev"

# 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()
{
	mkdir -p $fs/usr
	cp -a $install/usr/lib $fs/usr
}