wok-6.x annotate perl-net-mysql/receipt @ rev 16810
Add yelp-xsl
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Wed Jul 09 22:45:26 2014 -0300 (2014-07-09) |
parents | 97448d46d231 |
children | 20661c276bcf |
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@14702 | 8 LICENSE="GPL" |
pascal@1747 | 9 DEPENDS="perl libmysqlclient" |
pascal@1696 | 10 BUILD_DEPENDS="perl" |
pascal@1696 | 11 SOURCE="Net-MySQL" |
pascal@1696 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@1743 | 13 WEB_SITE="http://cpan.org/" |
pascal@1696 | 14 WGET_URL="http://search.cpan.org/CPAN/authors/id/O/OY/OYAMA/$TARBALL" |
pascal@1696 | 15 |
pascal@1696 | 16 # Rules to configure and make the package. |
pascal@1696 | 17 compile_rules() |
pascal@1696 | 18 { |
pascal@1696 | 19 cd $src |
pascal@1696 | 20 perl Makefile.PL && |
pascal@1696 | 21 make && |
pascal@14702 | 22 make DESTDIR=$DESTDIR install |
pascal@1696 | 23 } |
pascal@1696 | 24 |
pascal@1696 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1696 | 26 genpkg_rules() |
pascal@1696 | 27 { |
pascal@1696 | 28 mkdir -p $fs/usr |
pascal@14702 | 29 cp -a $install/usr/lib $fs/usr |
pascal@1696 | 30 } |
pascal@1696 | 31 |