wok-6.x annotate perl-text-csv/receipt @ rev 17591
syslinux/isohybrib.exe: add --md5, --undo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 10 08:53:27 2015 +0100 (2015-02-10) |
parents | b82d0e04f453 |
children | 6e8b1bcb30e2 |
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" |
slaxemulator@7917 | 13 WEB_SITE="http://search.cpan.org/dist/Text-CSV/" |
slaxemulator@7917 | 14 WGET_URL="http://search.cpan.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 |