wok-current annotate perl-apache-dbi/receipt @ rev 8268
Fix: pack swrast drivers into mesa-dri
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Jan 30 05:22:41 2011 +0100 (2011-01-30) |
parents | 68b8629a0fee |
children | 2d12ebd38be4 |
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@2243 | 12 WEB_SITE="http://www.cpan.org/modules/" |
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 |