wok-next annotate perl-net-mysql/receipt @ rev 18307
busybox-static: add mount -o flags (for /init)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 24 12:30:11 2015 +0200 (2015-08-24) |
parents | 97448d46d231 |
children | bc6672455954 |
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 |