wok-6.x annotate perl-yaml/receipt @ rev 21387
updated luckybackup (0.4.8 -> 0.5.0)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 22 14:36:08 2019 +0100 (2019-04-22) |
parents | 2d12ebd38be4 |
children | c7cee4bd7ef8 |
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" |
pascal@20671 | 13 WEB_SITE="https://metacpan.org/release/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 |