wok-6.x annotate perl-text-csv/receipt @ rev 23963
Up curl (7.72.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 02 10:34:57 2020 +0000 (2020-10-02) |
parents | 20661c276bcf |
children | 15650f5d595b |
rev | line source |
---|---|
slaxemulator@7917 | 1 # SliTaz package receipt. |
slaxemulator@7917 | 2 |
slaxemulator@7917 | 3 PACKAGE="perl-text-csv" |
Hans-G?nter@23405 | 4 VERSION="2.00" |
slaxemulator@7917 | 5 CATEGORY="development" |
Hans-G?nter@23405 | 6 SHORT_DESC="Perl - Manipulate comma-separated value strings." |
slaxemulator@7917 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@23405 | 9 WEB_SITE="https://metacpan.org/release/Text-CSV/" |
Hans-G?nter@23405 | 10 |
Hans-G?nter@23405 | 11 SOURCE="Text-CSV" |
Hans-G?nter@23405 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23405 | 13 WGET_URL="https://www.cpan.org/modules/by-module/Text/$TARBALL" |
Hans-G?nter@23405 | 14 |
slaxemulator@7917 | 15 DEPENDS="perl" |
slaxemulator@7917 | 16 BUILD_DEPENDS="perl" |
slaxemulator@7917 | 17 |
slaxemulator@7917 | 18 # Rules to configure and make the package. |
slaxemulator@7917 | 19 compile_rules() |
slaxemulator@7917 | 20 { |
Hans-G?nter@23405 | 21 PERL_MM_USE_DEFAULT=1 perl Makefile.PL && |
Hans-G?nter@23405 | 22 make && |
pascal@14702 | 23 make DESTDIR="$DESTDIR" install |
slaxemulator@7917 | 24 } |
slaxemulator@7917 | 25 |
slaxemulator@7917 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7917 | 27 genpkg_rules() |
slaxemulator@7917 | 28 { |
slaxemulator@7917 | 29 mkdir -p $fs/usr |
Hans-G?nter@23405 | 30 cp -a $install/usr/lib $fs/usr |
slaxemulator@7917 | 31 |
slaxemulator@7917 | 32 find $fs -name '.packlist' -delete |
slaxemulator@7917 | 33 find $fs -name '*.pod' -delete |
slaxemulator@7917 | 34 } |