wok-current annotate perl-dbd-pg/receipt @ rev 25786
Bump gvfs to fix issue with open files on android device, patch udev to fix mtp issue on pcmanfm
| author | Stanislas Leduc <shann@slitaz.org> |
|---|---|
| date | Tue Jul 29 18:05:13 2025 +0000 (2 months ago) |
| 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 } |