wok-6.x annotate perl-net-mysql/receipt @ rev 23806
linld: add isoboot
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 24 16:16:52 2020 +0000 (2020-05-24) |
parents | 20661c276bcf |
children | 15650f5d595b |
rev | line source |
---|---|
pascal@1696 | 1 # SliTaz package receipt. |
pascal@1696 | 2 |
pascal@1696 | 3 PACKAGE="perl-net-mysql" |
Hans-G?nter@23377 | 4 VERSION="0.11" |
pascal@1696 | 5 CATEGORY="development" |
Hans-G?nter@23377 | 6 SHORT_DESC="Perl extension Net::MySQL." |
pascal@1696 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@23377 | 9 WEB_SITE="https://metacpan.org/release/Net-MySQL" |
Hans-G?nter@23377 | 10 |
pascal@1696 | 11 SOURCE="Net-MySQL" |
pascal@1696 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23377 | 13 WGET_URL="https://www.cpan.org/modules/by-module/Net/$TARBALL" |
Hans-G?nter@23377 | 14 |
Hans-G?nter@23377 | 15 DEPENDS="libmysqlclient perl" |
Hans-G?nter@23377 | 16 BUILD_DEPENDS="perl" |
pascal@1696 | 17 |
pascal@1696 | 18 # Rules to configure and make the package. |
pascal@1696 | 19 compile_rules() |
pascal@1696 | 20 { |
pascal@1696 | 21 perl Makefile.PL && |
pascal@1696 | 22 make && |
pascal@14702 | 23 make DESTDIR=$DESTDIR install |
pascal@1696 | 24 } |
pascal@1696 | 25 |
pascal@1696 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1696 | 27 genpkg_rules() |
pascal@1696 | 28 { |
pascal@1696 | 29 mkdir -p $fs/usr |
Hans-G?nter@23377 | 30 cp -a $install/usr/lib $fs/usr |
pascal@1696 | 31 } |