wok-next annotate perl-apache-dbi/receipt @ rev 18452
perl-datetime: more deps
author | Nathan Neulinger <nneul@neulinger.org> |
---|---|
date | Sun Sep 27 20:14:44 2015 +0000 (2015-09-27) |
parents | 86d71949f3ad |
children | 1a86cb99cbbf |
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@14702 | 8 LICENSE="GPL" |
pascal@2070 | 9 DEPENDS="perl perl-digest-sha1" |
pascal@2070 | 10 BUILD_DEPENDS="perl" |
pascal@2070 | 11 SOURCE="Apache-DBI" |
pascal@2070 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@2243 | 13 WEB_SITE="http://www.cpan.org/modules/" |
pascal@2070 | 14 WGET_URL="http://search.cpan.org/CPAN/authors/id/P/PG/PGOLLUCCI/$TARBALL" |
pascal@2070 | 15 |
pascal@2070 | 16 # Rules to configure and make the package. |
pascal@2070 | 17 compile_rules() |
pascal@2070 | 18 { |
pascal@2070 | 19 cd $src |
pascal@2070 | 20 perl Makefile.PL && |
pascal@2070 | 21 make && |
pascal@14702 | 22 make DESTDIR=$DESTDIR install |
pascal@2070 | 23 } |
pascal@2070 | 24 |
pascal@2070 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2070 | 26 genpkg_rules() |
pascal@2070 | 27 { |
pascal@2070 | 28 mkdir -p $fs/usr |
pascal@14702 | 29 cp -a $install/usr/lib $fs/usr |
pascal@2070 | 30 } |
pascal@2070 | 31 |