wok-current annotate perl-net-mysql/receipt @ rev 25712
Use symlink for libxvmc-mesa
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Mon Jun 10 20:42:21 2024 +0000 (6 months ago) |
parents | ab825a91e8be |
children |
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@24102 | 18 current_version() |
pascal@24102 | 19 { |
pascal@24102 | 20 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24102 | 21 sed '/release-name/!d;s|.*-v*||;s|<.*||;q' |
pascal@24102 | 22 } |
pascal@24102 | 23 |
pascal@1696 | 24 # Rules to configure and make the package. |
pascal@1696 | 25 compile_rules() |
pascal@1696 | 26 { |
pascal@1696 | 27 perl Makefile.PL && |
pascal@1696 | 28 make && |
pascal@14702 | 29 make DESTDIR=$DESTDIR install |
pascal@1696 | 30 } |
pascal@1696 | 31 |
pascal@1696 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1696 | 33 genpkg_rules() |
pascal@1696 | 34 { |
pascal@1696 | 35 mkdir -p $fs/usr |
Hans-G?nter@23377 | 36 cp -a $install/usr/lib $fs/usr |
pascal@1696 | 37 } |