wok-current annotate perl-net-mysql/receipt @ rev 2836
dillo: Remove image and rename custom home page
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Apr 30 20:08:22 2009 +0200 (2009-04-30) |
parents | d38ad8b2c6a5 |
children | 2d12ebd38be4 |
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 |