wok annotate perl-dbi/receipt @ rev 7674

Fixed linux. Need to make folder PWD/_pkg before adding bzImage to it. Also i'm force copying kernel config file now so we have the right config. It is copyed twice so its needed and doesn't hunt anything i think.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Dec 16 17:16:06 2010 +0000 (2010-12-16)
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