# HG changeset patch # User Pascal Bellard # Date 1226436877 0 # Node ID e13c75a78a521e0068724e948a2c93f07bd23901 # Parent d0998c1aa2e07906be1ed9ebff32689ce4cf46e9 Add perl-net-mysql diff -r d0998c1aa2e0 -r e13c75a78a52 perl-net-mysql/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-net-mysql/receipt Tue Nov 11 20:54:37 2008 +0000 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="perl-net-mysql" +VERSION="0.09" +CATEGORY="development" +SHORT_DESC="Net::MySQL module is a Perl extension." +MAINTAINER="pascal.bellard@slitaz.org" +DEPENDS="perl" +BUILD_DEPENDS="perl" +SOURCE="Net-MySQL" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://www.cpan.org/modules/by-authors/id/MJD/Template.html" +WGET_URL="http://search.cpan.org/CPAN/authors/id/O/OY/OYAMA/$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 +} +