wok-6.x annotate perl-dbd-pg/receipt @ rev 20892
Remove ashism ==
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 26 09:14:07 2019 +0100 (2019-02-26) |
parents | 2d12ebd38be4 |
children | ffd12695c9e9 |
rev | line source |
---|---|
pascal@13319 | 1 # SliTaz package receipt. |
pascal@13319 | 2 |
pascal@13319 | 3 PACKAGE="perl-dbd-pg" |
pascal@20488 | 4 VERSION="3.7.4" |
pascal@13319 | 5 CATEGORY="development" |
pascal@13319 | 6 SHORT_DESC="DBD::Pg module is a Perl extension." |
pascal@13319 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
pascal@13319 | 9 SOURCE="DBD-Pg" |
pascal@13319 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@13319 | 11 WEB_SITE="http://cpan.org/" |
pascal@13319 | 12 WGET_URL="http://cpan.org/authors/id/T/TU/TURNSTEP/$TARBALL" |
pascal@13319 | 13 |
pascal@13319 | 14 DEPENDS="perl perl-dbi-dbd libpostgresqlclient" |
pascal@13319 | 15 BUILD_DEPENDS="perl perl-dbi-dbd postgresql-dev" |
pascal@13319 | 16 |
pascal@13319 | 17 # Rules to configure and make the package. |
pascal@13319 | 18 compile_rules() |
pascal@13319 | 19 { |
pascal@13319 | 20 cd $src |
pascal@13319 | 21 perl Makefile.PL |
pascal@13319 | 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 |
pascal@13319 | 30 cp -a $install/usr/lib $fs/usr |
pascal@13319 | 31 } |
pascal@13319 | 32 |