wok annotate perl-apache-dbi/receipt @ rev 2205
psycopg2: update DEPENDS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 10 12:14:40 2009 +0000 (2009-02-10) |
parents | |
children | 86d71949f3ad |
rev | line source |
---|---|
pascal@2070 | 1 # SliTaz package receipt. |
pascal@2070 | 2 |
pascal@2070 | 3 PACKAGE="perl-apache-dbi" |
pascal@2070 | 4 VERSION="1.07" |
pascal@2070 | 5 CATEGORY="development" |
pascal@2070 | 6 SHORT_DESC="Apache::DBI module is a Perl extension." |
pascal@2070 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@2070 | 8 DEPENDS="perl perl-digest-sha1" |
pascal@2070 | 9 BUILD_DEPENDS="perl" |
pascal@2070 | 10 SOURCE="Apache-DBI" |
pascal@2070 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@2070 | 12 WEB_SITE="http://www.cpan.org/modules/by-authors/id/MJD/Template.html" |
pascal@2070 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/P/PG/PGOLLUCCI/$TARBALL" |
pascal@2070 | 14 |
pascal@2070 | 15 # Rules to configure and make the package. |
pascal@2070 | 16 compile_rules() |
pascal@2070 | 17 { |
pascal@2070 | 18 cd $src |
pascal@2070 | 19 perl Makefile.PL && |
pascal@2070 | 20 make && |
pascal@2070 | 21 make DESTDIR=$PWD/_pkg install |
pascal@2070 | 22 } |
pascal@2070 | 23 |
pascal@2070 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2070 | 25 genpkg_rules() |
pascal@2070 | 26 { |
pascal@2070 | 27 mkdir -p $fs/usr |
pascal@2070 | 28 cp -a $_pkg/usr/lib $fs/usr |
pascal@2070 | 29 } |
pascal@2070 | 30 |