wok annotate perl-text-csv/receipt @ rev 21708

djmount: added automake to BUILD_DEPENDS
author Hans-G?nter Theisgen
date Fri Jun 07 16:30:45 2019 +0100 (2019-06-07)
parents 6e8b1bcb30e2
children 7cae9edc1c2e
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"
pascal@20671 13 WEB_SITE="https://metacpan.org/release/Text-CSV/"
pascal@20682 14 WGET_URL="https://metacpan.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