wok-next annotate perl-dbi-dbd/receipt @ rev 14695
python-elementary-dev: Up to 1.7.0-3
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Jun 06 22:09:35 2013 +0200 (2013-06-06) |
parents | |
children | 2d12ebd38be4 |
rev | line source |
---|---|
pascal@1601 | 1 # SliTaz package receipt. |
pascal@1601 | 2 |
pascal@1601 | 3 PACKAGE="perl-dbi-dbd" |
pascal@1601 | 4 VERSION="1.607" |
pascal@1601 | 5 CATEGORY="development" |
pascal@1601 | 6 SHORT_DESC="DBI::DBD module is a Perl extension." |
pascal@1601 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1601 | 8 DEPENDS="perl" |
pascal@1601 | 9 BUILD_DEPENDS="perl" |
pascal@1601 | 10 SOURCE="DBI" |
pascal@1601 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@1601 | 12 WEB_SITE="http://cpan.org/" |
pascal@1601 | 13 WGET_URL="http://cpan.org/authors/id/T/TI/TIMB/$TARBALL" |
pascal@1601 | 14 |
pascal@1601 | 15 # Rules to configure and make the package. |
pascal@1601 | 16 compile_rules() |
pascal@1601 | 17 { |
pascal@1601 | 18 cd $src |
pascal@1601 | 19 perl Makefile.PL |
pascal@1601 | 20 make |
pascal@1601 | 21 make DESTDIR=$PWD/_pkg install |
pascal@1601 | 22 } |
pascal@1601 | 23 |
pascal@1601 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1601 | 25 genpkg_rules() |
pascal@1601 | 26 { |
pascal@1601 | 27 mkdir -p $fs/usr |
pascal@1601 | 28 cp -a $_pkg/usr/lib $fs/usr |
pascal@1601 | 29 } |
pascal@1601 | 30 |