wok-6.x annotate perl-net-mysql/receipt @ rev 22678
cookutils: do not break build env !
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 18 16:22:42 2020 +0100 (2020-01-18) |
parents | 2d12ebd38be4 |
children | ab825a91e8be |
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@20682 | 14 WGET_URL="https://metacpan.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 |