wok-current annotate perl-dbd-pg/receipt @ rev 24909
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 09 14:28:38 2022 +0000 (2022-04-09) |
parents | 15650f5d595b |
children |
rev | line source |
---|---|
pascal@13319 | 1 # SliTaz package receipt. |
pascal@13319 | 2 |
pascal@13319 | 3 PACKAGE="perl-dbd-pg" |
Hans-G?nter@24198 | 4 VERSION="3.15.0" |
pascal@13319 | 5 CATEGORY="development" |
Hans-G?nter@23315 | 6 SHORT_DESC="Perl extension DBD::Pg." |
pascal@13319 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@24198 | 9 WEB_SITE="https://metacpan.org/pod/DBD::Pg" |
Hans-G?nter@24198 | 10 REPOLOGY="perl:dbd-pg" |
Hans-G?nter@23315 | 11 |
pascal@13319 | 12 SOURCE="DBD-Pg" |
pascal@13319 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23315 | 14 WGET_URL="https://www.cpan.org/modules/by-module/DBD/$TARBALL" |
pascal@13319 | 15 |
Hans-G?nter@23315 | 16 DEPENDS="libpostgresqlclient perl perl-dbi-dbd" |
pascal@13319 | 17 BUILD_DEPENDS="perl perl-dbi-dbd postgresql-dev" |
pascal@13319 | 18 |
pascal@24102 | 19 current_version() |
pascal@24102 | 20 { |
pascal@24102 | 21 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24102 | 22 sed '/release-name/!d;s|.*-v*||;s|<.*||;q' |
pascal@24102 | 23 } |
pascal@24102 | 24 |
pascal@13319 | 25 # Rules to configure and make the package. |
pascal@13319 | 26 compile_rules() |
pascal@13319 | 27 { |
Hans-G?nter@23315 | 28 perl Makefile.PL && |
Hans-G?nter@23315 | 29 make && |
Hans-G?nter@24198 | 30 make install DESTDIR=$DESTDIR |
pascal@13319 | 31 } |
pascal@13319 | 32 |
pascal@13319 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13319 | 34 genpkg_rules() |
pascal@13319 | 35 { |
Hans-G?nter@24198 | 36 cook_copy_folders lib |
pascal@13319 | 37 } |