wok annotate perl-apache-dbi/receipt @ rev 7519
Up: git to 1.7.3.3.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Dec 05 03:02:46 2010 +0000 (2010-12-05) |
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 |