wok view perl-text-csv/receipt @ rev 20884

modified TARBALL and WGET_URL in enca recipe
author Hans-G?nter Theisgen
date Mon Feb 25 14:53:31 2019 +0100 (2019-02-25)
parents 6e8b1bcb30e2
children 7cae9edc1c2e
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-text-csv"
4 VERSION="1.20"
5 CATEGORY="development"
6 SHORT_DESC="Manipulate comma-separated value strings."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL"
9 DEPENDS="perl"
10 BUILD_DEPENDS="perl"
11 SOURCE="Text-CSV"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WEB_SITE="https://metacpan.org/release/Text-CSV/"
14 WGET_URL="https://metacpan.org/CPAN/authors/id/M/MA/MAKAMAKA/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 PERL_MM_USE_DEFAULT=1 perl Makefile.PL
21 make
22 make DESTDIR="$DESTDIR" install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/lib $fs/usr
31 find $fs -name '.packlist' -delete
32 find $fs -name '*.pod' -delete
34 }