wok-4.x annotate perl-net-mysql/receipt @ rev 2959

Up: dmidecode (2.10)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Fri May 08 22:26:27 2009 +0200 (2009-05-08)
parents d38ad8b2c6a5
children
rev   line source
pascal@1696 1 # SliTaz package receipt.
pascal@1696 2
pascal@1696 3 PACKAGE="perl-net-mysql"
pascal@1696 4 VERSION="0.09"
pascal@1696 5 CATEGORY="development"
pascal@1696 6 SHORT_DESC="Net::MySQL module is a Perl extension."
pascal@1696 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@1747 8 DEPENDS="perl libmysqlclient"
pascal@1696 9 BUILD_DEPENDS="perl"
pascal@1696 10 SOURCE="Net-MySQL"
pascal@1696 11 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@1743 12 WEB_SITE="http://cpan.org/"
pascal@1696 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/O/OY/OYAMA/$TARBALL"
pascal@1696 14
pascal@1696 15 # Rules to configure and make the package.
pascal@1696 16 compile_rules()
pascal@1696 17 {
pascal@1696 18 cd $src
pascal@1696 19 perl Makefile.PL &&
pascal@1696 20 make &&
pascal@1696 21 make DESTDIR=$PWD/_pkg install
pascal@1696 22 }
pascal@1696 23
pascal@1696 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1696 25 genpkg_rules()
pascal@1696 26 {
pascal@1696 27 mkdir -p $fs/usr
pascal@1696 28 cp -a $_pkg/usr/lib $fs/usr
pascal@1696 29 }
pascal@1696 30