wok annotate perl-dbd-pg/receipt @ rev 23515
busybox: musl & diet may fail (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 06 12:11:08 2020 +0200 (2020-04-06) |
parents | 34787ac3a77e |
children | 15650f5d595b |
rev | line source |
---|---|
pascal@13319 | 1 # SliTaz package receipt. |
pascal@13319 | 2 |
pascal@13319 | 3 PACKAGE="perl-dbd-pg" |
Hans-G?nter@23315 | 4 VERSION="3.10.5" |
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@23315 | 9 WEB_SITE="https://metacpan.org/release/DBD-Pg" |
Hans-G?nter@23315 | 10 |
pascal@13319 | 11 SOURCE="DBD-Pg" |
pascal@13319 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23315 | 13 WGET_URL="https://www.cpan.org/modules/by-module/DBD/$TARBALL" |
pascal@13319 | 14 |
Hans-G?nter@23315 | 15 DEPENDS="libpostgresqlclient perl perl-dbi-dbd" |
pascal@13319 | 16 BUILD_DEPENDS="perl perl-dbi-dbd postgresql-dev" |
pascal@13319 | 17 |
pascal@13319 | 18 # Rules to configure and make the package. |
pascal@13319 | 19 compile_rules() |
pascal@13319 | 20 { |
Hans-G?nter@23315 | 21 perl Makefile.PL && |
Hans-G?nter@23315 | 22 make && |
pascal@13319 | 23 make DESTDIR=$DESTDIR install |
pascal@13319 | 24 } |
pascal@13319 | 25 |
pascal@13319 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13319 | 27 genpkg_rules() |
pascal@13319 | 28 { |
pascal@13319 | 29 mkdir -p $fs/usr |
Hans-G?nter@23315 | 30 cp -a $install/usr/lib $fs/usr |
pascal@13319 | 31 } |