# HG changeset patch # User Pascal Bellard # Date 1224414830 0 # Node ID d5a140dacc3b871e188c46787f3024f188cf5cb8 # Parent 72b341769c13bf5e7b832e2c30858fe9329b5eec Add perl-dbi-dbd diff -r 72b341769c13 -r d5a140dacc3b perl-dbi-dbd/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-dbi-dbd/receipt Sun Oct 19 11:13:50 2008 +0000 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="perl-dbi-dbd" +VERSION="1.607" +CATEGORY="development" +SHORT_DESC="DBI::DBD module is a Perl extension." +MAINTAINER="pascal.bellard@slitaz.org" +DEPENDS="perl" +BUILD_DEPENDS="perl" +SOURCE="DBI" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://cpan.org/" +WGET_URL="http://cpan.org/authors/id/T/TI/TIMB/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + perl Makefile.PL + make + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/lib $fs/usr +} +