wok-4.x annotate perl-unicode-string/receipt @ rev 12176
Up: slitaz-tools (4.8.3) - Small improvments
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Mar 24 14:39:11 2012 +0100 (2012-03-24) |
parents | |
children |
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 |