wok-next annotate perl-text-csv/receipt @ rev 19497
Up SliTaz projects: cookutils (838), slitaz-base-files (314), tazlito (439 again, seems failure isn't here).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Nov 17 01:33:43 2016 +0200 (2016-11-17) |
parents | b82d0e04f453 |
children | 1a86cb99cbbf |
rev | line source |
---|---|
slaxemulator@7917 | 1 # SliTaz package receipt. |
slaxemulator@7917 | 2 |
slaxemulator@7917 | 3 PACKAGE="perl-text-csv" |
slaxemulator@7917 | 4 VERSION="1.20" |
slaxemulator@7917 | 5 CATEGORY="development" |
slaxemulator@7917 | 6 SHORT_DESC="Manipulate comma-separated value strings." |
slaxemulator@7917 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14702 | 8 LICENSE="GPL" |
slaxemulator@7917 | 9 DEPENDS="perl" |
slaxemulator@7917 | 10 BUILD_DEPENDS="perl" |
slaxemulator@7917 | 11 SOURCE="Text-CSV" |
slaxemulator@7917 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@7917 | 13 WEB_SITE="http://search.cpan.org/dist/Text-CSV/" |
slaxemulator@7917 | 14 WGET_URL="http://search.cpan.org/CPAN/authors/id/M/MA/MAKAMAKA/$TARBALL" |
slaxemulator@7917 | 15 |
slaxemulator@7917 | 16 # Rules to configure and make the package. |
slaxemulator@7917 | 17 compile_rules() |
slaxemulator@7917 | 18 { |
slaxemulator@7917 | 19 cd $src |
slaxemulator@7917 | 20 PERL_MM_USE_DEFAULT=1 perl Makefile.PL |
slaxemulator@7917 | 21 make |
pascal@14702 | 22 make DESTDIR="$DESTDIR" install |
slaxemulator@7917 | 23 } |
slaxemulator@7917 | 24 |
slaxemulator@7917 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7917 | 26 genpkg_rules() |
slaxemulator@7917 | 27 { |
slaxemulator@7917 | 28 mkdir -p $fs/usr |
pascal@14702 | 29 cp -a $install/usr/lib $fs/usr |
slaxemulator@7917 | 30 |
slaxemulator@7917 | 31 find $fs -name '.packlist' -delete |
slaxemulator@7917 | 32 find $fs -name '*.pod' -delete |
slaxemulator@7917 | 33 |
slaxemulator@7917 | 34 } |
slaxemulator@7917 | 35 |