wok-4.x annotate perl-unicode-map/receipt @ rev 2317
Add get-xlite
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 26 10:47:47 2009 +0000 (2009-02-26) |
parents | |
children |
rev | line source |
---|---|
pascal@1603 | 1 # SliTaz package receipt. |
pascal@1603 | 2 |
pascal@1603 | 3 PACKAGE="perl-unicode-map" |
pascal@1603 | 4 VERSION="0.112" |
pascal@1603 | 5 CATEGORY="development" |
pascal@1603 | 6 SHORT_DESC="Unicode::Map module is a Perl extension." |
pascal@1603 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1603 | 8 DEPENDS="perl" |
pascal@1603 | 9 BUILD_DEPENDS="perl" |
pascal@1603 | 10 SOURCE="Unicode-Map" |
pascal@1603 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@1603 | 12 WEB_SITE="http://cpan.org/" |
pascal@1603 | 13 WGET_URL="http://cpan.org/authors/id/M/MS/MSCHWARTZ/$TARBALL" |
pascal@1603 | 14 |
pascal@1603 | 15 # Rules to configure and make the package. |
pascal@1603 | 16 compile_rules() |
pascal@1603 | 17 { |
pascal@1603 | 18 cd $src |
pascal@1603 | 19 perl Makefile.PL |
pascal@1603 | 20 make |
pascal@1603 | 21 make DESTDIR=$PWD/_pkg install |
pascal@1603 | 22 } |
pascal@1603 | 23 |
pascal@1603 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1603 | 25 genpkg_rules() |
pascal@1603 | 26 { |
pascal@1603 | 27 mkdir -p $fs/usr |
pascal@1603 | 28 cp -a $_pkg/usr/lib $fs/usr |
pascal@1603 | 29 } |
pascal@1603 | 30 |