wok-current annotate perl-text-csv/receipt @ rev 25174
updated python-flask (1.1.2 -> 1.1.4)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 01 17:16:59 2022 +0100 (2022-07-01) |
parents | 15650f5d595b |
children |
rev | line source |
---|---|
slaxemulator@7917 | 1 # SliTaz package receipt. |
slaxemulator@7917 | 2 |
slaxemulator@7917 | 3 PACKAGE="perl-text-csv" |
Hans-G?nter@24261 | 4 VERSION="2.01" |
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@24261 | 9 WEB_SITE="https://metacpan.org/pod/Text::CSV" |
Hans-G?nter@24261 | 10 REPOLOGY="perl:text-csv" |
Hans-G?nter@23405 | 11 |
Hans-G?nter@23405 | 12 SOURCE="Text-CSV" |
Hans-G?nter@23405 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23405 | 14 WGET_URL="https://www.cpan.org/modules/by-module/Text/$TARBALL" |
Hans-G?nter@23405 | 15 |
slaxemulator@7917 | 16 DEPENDS="perl" |
slaxemulator@7917 | 17 BUILD_DEPENDS="perl" |
slaxemulator@7917 | 18 |
pascal@24102 | 19 current_version() |
pascal@24102 | 20 { |
pascal@24102 | 21 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24102 | 22 sed '/release-name/!d;s|.*-v*||;s|<.*||;q' |
pascal@24102 | 23 } |
pascal@24102 | 24 |
slaxemulator@7917 | 25 # Rules to configure and make the package. |
slaxemulator@7917 | 26 compile_rules() |
slaxemulator@7917 | 27 { |
Hans-G?nter@23405 | 28 PERL_MM_USE_DEFAULT=1 perl Makefile.PL && |
Hans-G?nter@23405 | 29 make && |
Hans-G?nter@24261 | 30 make install DESTDIR="$DESTDIR" |
slaxemulator@7917 | 31 } |
slaxemulator@7917 | 32 |
slaxemulator@7917 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7917 | 34 genpkg_rules() |
slaxemulator@7917 | 35 { |
Hans-G?nter@24261 | 36 cook_copy_folders lib |
slaxemulator@7917 | 37 |
slaxemulator@7917 | 38 find $fs -name '.packlist' -delete |
slaxemulator@7917 | 39 find $fs -name '*.pod' -delete |
slaxemulator@7917 | 40 } |