wok-current view perl-text-csv/receipt @ rev 15685
linux-lxc: add post_install() for update menu.lst
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sat Dec 21 07:21:07 2013 +0100 (2013-12-21) |
parents | b82d0e04f453 |
children | 6e8b1bcb30e2 |
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="http://search.cpan.org/dist/Text-CSV/"
14 WGET_URL="http://search.cpan.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 }