wok annotate perl-unicode-string/receipt @ rev 20304
sshx: add port support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 05 17:00:11 2018 +0200 (2018-05-05) |
parents | d970f9824040 |
children | 20661c276bcf |
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@14702 | 8 LICENSE="GPL" |
pascal@1915 | 9 DEPENDS="perl" |
pascal@1915 | 10 BUILD_DEPENDS="perl" |
pascal@1915 | 11 SOURCE="Unicode-String" |
pascal@1915 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@1915 | 13 WEB_SITE="http://cpan.org/" |
pascal@1915 | 14 WGET_URL="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$TARBALL" |
pascal@1915 | 15 |
pascal@1915 | 16 # Rules to configure and make the package. |
pascal@1915 | 17 compile_rules() |
pascal@1915 | 18 { |
pascal@1915 | 19 cd $src |
pascal@1915 | 20 perl Makefile.PL && |
pascal@1915 | 21 make && |
pascal@14702 | 22 make DESTDIR=$DESTDIR install |
pascal@1915 | 23 } |
pascal@1915 | 24 |
pascal@1915 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1915 | 26 genpkg_rules() |
pascal@1915 | 27 { |
pascal@1915 | 28 mkdir -p $fs/usr |
pascal@14702 | 29 cp -a $install/usr/lib $fs/usr |
pascal@1915 | 30 } |
pascal@1915 | 31 |