wok-4.x annotate perl-unicode-string/receipt @ rev 12320
get-wifi-firmware: fix get-ipw2?00-firmware
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 12 15:56:00 2012 +0200 (2012-08-12) |
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 |