wok annotate perl-dbi/receipt @ rev 6961
xorg-server: add config dir
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Tue Oct 26 13:15:37 2010 +0200 (2010-10-26) |
parents | |
children | 2d12ebd38be4 |
rev | line source |
---|---|
pascal@1599 | 1 # SliTaz package receipt. |
pascal@1599 | 2 |
pascal@1599 | 3 PACKAGE="perl-dbi" |
pascal@1599 | 4 VERSION="v3.0.17" |
pascal@1599 | 5 CATEGORY="development" |
pascal@1599 | 6 SHORT_DESC="DBI module is a Perl extension." |
pascal@1599 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1599 | 8 DEPENDS="perl" |
pascal@1599 | 9 BUILD_DEPENDS="perl" |
pascal@1599 | 10 SOURCE="Class-DBI" |
pascal@1599 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@1599 | 12 WEB_SITE="http://cpan.org/" |
pascal@1599 | 13 WGET_URL="http://cpan.org/authors/id/T/TM/TMTM/$TARBALL" |
pascal@1599 | 14 |
pascal@1599 | 15 # Rules to configure and make the package. |
pascal@1599 | 16 compile_rules() |
pascal@1599 | 17 { |
pascal@1599 | 18 cd $src |
pascal@1599 | 19 perl Makefile.PL |
pascal@1599 | 20 make |
pascal@1599 | 21 make DESTDIR=$PWD/_pkg install |
pascal@1599 | 22 } |
pascal@1599 | 23 |
pascal@1599 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1599 | 25 genpkg_rules() |
pascal@1599 | 26 { |
pascal@1599 | 27 mkdir -p $fs/usr |
pascal@1599 | 28 cp -a $_pkg/usr/lib $fs/usr |
pascal@1599 | 29 } |
pascal@1599 | 30 |