wok-6.x annotate perl-dbi/receipt @ rev 15303
enigma: remove a wrong error trigger
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 27 12:42:14 2013 +0000 (2013-09-27) |
parents | 9838d48424a5 |
children | ca4a422cce07 |
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@14702 | 8 LICENSE="GPL" |
pascal@1599 | 9 DEPENDS="perl" |
pascal@1599 | 10 BUILD_DEPENDS="perl" |
pascal@1599 | 11 SOURCE="Class-DBI" |
pascal@1599 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@1599 | 13 WEB_SITE="http://cpan.org/" |
pascal@1599 | 14 WGET_URL="http://cpan.org/authors/id/T/TM/TMTM/$TARBALL" |
pascal@1599 | 15 |
pascal@1599 | 16 # Rules to configure and make the package. |
pascal@1599 | 17 compile_rules() |
pascal@1599 | 18 { |
pascal@1599 | 19 cd $src |
pascal@1599 | 20 perl Makefile.PL |
pascal@1599 | 21 make |
pascal@14702 | 22 make DESTDIR=$DESTDIR install |
pascal@1599 | 23 } |
pascal@1599 | 24 |
pascal@1599 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1599 | 26 genpkg_rules() |
pascal@1599 | 27 { |
pascal@1599 | 28 mkdir -p $fs/usr |
pascal@14702 | 29 cp -a $install/usr/lib $fs/usr |
pascal@1599 | 30 } |
pascal@1599 | 31 |