wok-current annotate perl-mime-base64/receipt @ rev 9113
slitaz-doc: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 05 11:34:20 2011 +0100 (2011-03-05) |
parents | 090a5fdd4cf8 |
children | 2d12ebd38be4 |
rev | line source |
---|---|
pascal@1671 | 1 # SliTaz package receipt. |
pascal@1671 | 2 |
pascal@1671 | 3 PACKAGE="perl-mime-base64" |
pascal@1671 | 4 VERSION="3.07" |
pascal@1671 | 5 CATEGORY="development" |
pascal@1671 | 6 SHORT_DESC="MIME::Base64 module is a Perl extension." |
pascal@1671 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1671 | 8 DEPENDS="perl" |
pascal@1671 | 9 BUILD_DEPENDS="perl" |
pascal@1671 | 10 SOURCE="MIME-Base64" |
pascal@1671 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@1743 | 12 WEB_SITE="http://cpan.org/" |
pascal@1671 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$TARBALL" |
pascal@1671 | 14 |
pascal@1671 | 15 # Rules to configure and make the package. |
pascal@1671 | 16 compile_rules() |
pascal@1671 | 17 { |
pascal@1671 | 18 cd $src |
pascal@1671 | 19 perl Makefile.PL && |
pascal@1671 | 20 make && |
pascal@1671 | 21 make DESTDIR=$PWD/_pkg install |
pascal@1671 | 22 } |
pascal@1671 | 23 |
pascal@1671 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1671 | 25 genpkg_rules() |
pascal@1671 | 26 { |
pascal@1671 | 27 mkdir -p $fs/usr |
pascal@1671 | 28 cp -a $_pkg/usr/lib $fs/usr |
pascal@1671 | 29 } |
pascal@1671 | 30 |