wok-current annotate perl-unicode-string/receipt @ rev 3090
slitaz-configs: Dont forget Openbox files...
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat May 16 21:26:49 2009 +0200 (2009-05-16) |
parents | |
children | 2d12ebd38be4 |
rev | line source |
---|---|
pascal@1915 | 1 # SliTaz package receipt. |
pascal@1915 | 2 |
pascal@1915 | 3 PACKAGE="perl-unicode-string" |
pascal@1915 | 4 VERSION="2.09" |
pascal@1915 | 5 CATEGORY="development" |
pascal@1915 | 6 SHORT_DESC="Unicode::String module is a Perl extension." |
pascal@1915 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1915 | 8 DEPENDS="perl" |
pascal@1915 | 9 BUILD_DEPENDS="perl" |
pascal@1915 | 10 SOURCE="Unicode-String" |
pascal@1915 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@1915 | 12 WEB_SITE="http://cpan.org/" |
pascal@1915 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$TARBALL" |
pascal@1915 | 14 |
pascal@1915 | 15 # Rules to configure and make the package. |
pascal@1915 | 16 compile_rules() |
pascal@1915 | 17 { |
pascal@1915 | 18 cd $src |
pascal@1915 | 19 perl Makefile.PL && |
pascal@1915 | 20 make && |
pascal@1915 | 21 make DESTDIR=$PWD/_pkg install |
pascal@1915 | 22 } |
pascal@1915 | 23 |
pascal@1915 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1915 | 25 genpkg_rules() |
pascal@1915 | 26 { |
pascal@1915 | 27 mkdir -p $fs/usr |
pascal@1915 | 28 cp -a $_pkg/usr/lib $fs/usr |
pascal@1915 | 29 } |
pascal@1915 | 30 |