wok annotate perl-yaml/receipt @ rev 17899
Up: tazpkg (763): fix search.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 03 15:53:11 2015 +0300 (2015-04-03) |
parents | bd18cd8fd306 |
children | 6e8b1bcb30e2 |
rev | line source |
---|---|
slaxemulator@7404 | 1 # SliTaz package receipt. |
slaxemulator@7404 | 2 |
slaxemulator@7404 | 3 PACKAGE="perl-yaml" |
slaxemulator@7404 | 4 VERSION="0.71" |
slaxemulator@7404 | 5 CATEGORY="development" |
slaxemulator@7404 | 6 SHORT_DESC="Perl/CPAN Module YAML : YAML Aint Markup Language tm" |
slaxemulator@7404 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14702 | 8 LICENSE="GPL" |
slaxemulator@7404 | 9 DEPENDS="perl" |
slaxemulator@7404 | 10 BUILD_DEPENDS="perl" |
slaxemulator@7404 | 11 SOURCE="YAML" |
slaxemulator@7404 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@7404 | 13 WEB_SITE="http://search.cpan.org/dist/YAML/" |
slaxemulator@7404 | 14 WGET_URL="http://www.cpan.org/authors/id/A/AD/ADAMK/$TARBALL" |
slaxemulator@7404 | 15 |
slaxemulator@7404 | 16 # Rules to configure and make the package. |
slaxemulator@7404 | 17 compile_rules() |
slaxemulator@7404 | 18 { |
slaxemulator@7404 | 19 cd $src |
slaxemulator@7404 | 20 perl Makefile.PL && |
slaxemulator@7404 | 21 make && |
pascal@14702 | 22 make DESTDIR=$DESTDIR install |
slaxemulator@7404 | 23 } |
slaxemulator@7404 | 24 |
slaxemulator@7404 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7404 | 26 genpkg_rules() |
slaxemulator@7404 | 27 { |
slaxemulator@7404 | 28 mkdir -p $fs/usr |
pascal@14702 | 29 cp -a $install/usr/lib $fs/usr |
slaxemulator@7404 | 30 # remove perllocal.pod and .packlist |
slaxemulator@7404 | 31 find ${fs} -name perllocal.pod -delete |
slaxemulator@7404 | 32 find ${fs} -name .packlist -delete |
slaxemulator@7404 | 33 |
slaxemulator@7404 | 34 |
slaxemulator@7404 | 35 } |
slaxemulator@7404 | 36 |