wok annotate perl-apache-dbi/receipt @ rev 24480
updated firefox-official-it (77.0 -> 97.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 18 13:44:35 2022 +0100 (2022-02-18) |
parents | 2ce87b7d5a76 |
children | 0af8df0b46fc |
rev | line source |
---|---|
pascal@2070 | 1 # SliTaz package receipt. |
pascal@2070 | 2 |
pascal@2070 | 3 PACKAGE="perl-apache-dbi" |
Hans-G?nter@23288 | 4 VERSION="1.12" |
pascal@2070 | 5 CATEGORY="development" |
Hans-G?nter@23288 | 6 SHORT_DESC="Perl extension Apache::DBI." |
pascal@2070 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@23288 | 9 WEB_SITE="https://metacpan.org/release/Apache-DBI" |
Hans-G?nter@23288 | 10 |
Hans-G?nter@23288 | 11 SOURCE="Apache-DBI" |
Hans-G?nter@23288 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23288 | 13 WGET_URL="https://www.cpan.org/modules/by-module/Apache/$TARBALL" |
Hans-G?nter@23288 | 14 |
pascal@2070 | 15 DEPENDS="perl perl-digest-sha1" |
pascal@2070 | 16 BUILD_DEPENDS="perl" |
pascal@2070 | 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@2070 | 24 # Rules to configure and make the package. |
pascal@2070 | 25 compile_rules() |
pascal@2070 | 26 { |
pascal@2070 | 27 perl Makefile.PL && |
pascal@2070 | 28 make && |
pascal@14702 | 29 make DESTDIR=$DESTDIR install |
pascal@2070 | 30 } |
pascal@2070 | 31 |
pascal@2070 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2070 | 33 genpkg_rules() |
pascal@2070 | 34 { |
pascal@2070 | 35 mkdir -p $fs/usr |
Hans-G?nter@23288 | 36 cp -a $install/usr/lib $fs/usr |
pascal@2070 | 37 } |