wok-next annotate perl-text-csv/receipt @ rev 9276
Add freedoom.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Mar 15 20:28:23 2011 +0000 (2011-03-15) |
parents | |
children | 2d12ebd38be4 |
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" |
slaxemulator@7917 | 8 DEPENDS="perl" |
slaxemulator@7917 | 9 BUILD_DEPENDS="perl" |
slaxemulator@7917 | 10 SOURCE="Text-CSV" |
slaxemulator@7917 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@7917 | 12 WEB_SITE="http://search.cpan.org/dist/Text-CSV/" |
slaxemulator@7917 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/M/MA/MAKAMAKA/$TARBALL" |
slaxemulator@7917 | 14 |
slaxemulator@7917 | 15 # Rules to configure and make the package. |
slaxemulator@7917 | 16 compile_rules() |
slaxemulator@7917 | 17 { |
slaxemulator@7917 | 18 cd $src |
slaxemulator@7917 | 19 PERL_MM_USE_DEFAULT=1 perl Makefile.PL |
slaxemulator@7917 | 20 make |
slaxemulator@7917 | 21 make DESTDIR="$PWD/_pkg" install |
slaxemulator@7917 | 22 } |
slaxemulator@7917 | 23 |
slaxemulator@7917 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7917 | 25 genpkg_rules() |
slaxemulator@7917 | 26 { |
slaxemulator@7917 | 27 mkdir -p $fs/usr |
slaxemulator@7917 | 28 cp -a $_pkg/usr/lib $fs/usr |
slaxemulator@7917 | 29 |
slaxemulator@7917 | 30 find $fs -name '.packlist' -delete |
slaxemulator@7917 | 31 find $fs -name '*.pod' -delete |
slaxemulator@7917 | 32 |
slaxemulator@7917 | 33 } |
slaxemulator@7917 | 34 |