wok-current annotate perl-yaml/receipt @ rev 13585
sbxkb: add LDFLAGS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 06 12:55:04 2012 +0100 (2012-11-06) |
parents | |
children | 2d12ebd38be4 |
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" |
slaxemulator@7404 | 8 DEPENDS="perl" |
slaxemulator@7404 | 9 BUILD_DEPENDS="perl" |
slaxemulator@7404 | 10 SOURCE="YAML" |
slaxemulator@7404 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@7404 | 12 WEB_SITE="http://search.cpan.org/dist/YAML/" |
slaxemulator@7404 | 13 WGET_URL="http://www.cpan.org/authors/id/A/AD/ADAMK/$TARBALL" |
slaxemulator@7404 | 14 |
slaxemulator@7404 | 15 # Rules to configure and make the package. |
slaxemulator@7404 | 16 compile_rules() |
slaxemulator@7404 | 17 { |
slaxemulator@7404 | 18 cd $src |
slaxemulator@7404 | 19 perl Makefile.PL && |
slaxemulator@7404 | 20 make && |
slaxemulator@7404 | 21 make DESTDIR=$PWD/_pkg install |
slaxemulator@7404 | 22 } |
slaxemulator@7404 | 23 |
slaxemulator@7404 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7404 | 25 genpkg_rules() |
slaxemulator@7404 | 26 { |
slaxemulator@7404 | 27 mkdir -p $fs/usr |
slaxemulator@7404 | 28 cp -a $_pkg/usr/lib $fs/usr |
slaxemulator@7404 | 29 # remove perllocal.pod and .packlist |
slaxemulator@7404 | 30 find ${fs} -name perllocal.pod -delete |
slaxemulator@7404 | 31 find ${fs} -name .packlist -delete |
slaxemulator@7404 | 32 |
slaxemulator@7404 | 33 |
slaxemulator@7404 | 34 } |
slaxemulator@7404 | 35 |