wok annotate perl-unicode-maputf8/receipt @ rev 10035
slitaz-toolchain: add build and host info to log and doc
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 20 04:19:01 2011 +0200 (2011-05-20) |
parents | |
children | 2d12ebd38be4 |
rev | line source |
---|---|
pascal@1916 | 1 # SliTaz package receipt. |
pascal@1916 | 2 |
pascal@1916 | 3 PACKAGE="perl-unicode-maputf8" |
pascal@1916 | 4 VERSION="1.11" |
pascal@1916 | 5 CATEGORY="development" |
pascal@1916 | 6 SHORT_DESC="Unicode::MapUTF8 module is a Perl extension." |
pascal@1916 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1916 | 8 DEPENDS="perl perl-unicode-string" |
pascal@1916 | 9 BUILD_DEPENDS="perl" |
pascal@1916 | 10 SOURCE="Unicode-MapUTF8" |
pascal@1916 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@1916 | 12 WEB_SITE="http://cpan.org/" |
pascal@1916 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/S/SN/SNOWHARE/$TARBALL" |
pascal@1916 | 14 |
pascal@1916 | 15 # Rules to configure and make the package. |
pascal@1916 | 16 compile_rules() |
pascal@1916 | 17 { |
pascal@1916 | 18 cd $src |
pascal@1916 | 19 perl Makefile.PL && |
pascal@1916 | 20 make && |
pascal@1916 | 21 make DESTDIR=$PWD/_pkg install |
pascal@1916 | 22 } |
pascal@1916 | 23 |
pascal@1916 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1916 | 25 genpkg_rules() |
pascal@1916 | 26 { |
pascal@1916 | 27 mkdir -p $fs/usr |
pascal@1916 | 28 cp -a $_pkg/usr/lib $fs/usr |
pascal@1916 | 29 } |
pascal@1916 | 30 |