wok annotate perl-yaml/receipt @ rev 24612
updated gnuplot (4.6.5 -> 5.4.3)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Mar 06 16:11:56 2022 +0100 (2022-03-06) |
parents | c7cee4bd7ef8 |
children | 0af8df0b46fc |
rev | line source |
---|---|
slaxemulator@7404 | 1 # SliTaz package receipt. |
slaxemulator@7404 | 2 |
slaxemulator@7404 | 3 PACKAGE="perl-yaml" |
Hans-G?nter@23420 | 4 VERSION="1.30" |
slaxemulator@7404 | 5 CATEGORY="development" |
Hans-G?nter@23420 | 6 SHORT_DESC="Perl extension YAML : YAML Aint Markup Language tm." |
slaxemulator@7404 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@23420 | 9 WEB_SITE="https://metacpan.org/release/YAML/" |
Hans-G?nter@23420 | 10 |
Hans-G?nter@23420 | 11 SOURCE="YAML" |
Hans-G?nter@23420 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23420 | 13 WGET_URL="https://www.cpan.org/modules/by-module/YAML/$TARBALL" |
Hans-G?nter@23420 | 14 |
slaxemulator@7404 | 15 DEPENDS="perl" |
slaxemulator@7404 | 16 BUILD_DEPENDS="perl" |
slaxemulator@7404 | 17 |
pascal@24102 | 18 current_version() |
pascal@24102 | 19 { |
pascal@24102 | 20 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24102 | 21 sed '/release-name/!d;s|.*-||;s|<.*||;q' |
pascal@24102 | 22 } |
pascal@24102 | 23 |
slaxemulator@7404 | 24 # Rules to configure and make the package. |
slaxemulator@7404 | 25 compile_rules() |
slaxemulator@7404 | 26 { |
slaxemulator@7404 | 27 perl Makefile.PL && |
slaxemulator@7404 | 28 make && |
pascal@14702 | 29 make DESTDIR=$DESTDIR install |
slaxemulator@7404 | 30 } |
slaxemulator@7404 | 31 |
slaxemulator@7404 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7404 | 33 genpkg_rules() |
slaxemulator@7404 | 34 { |
slaxemulator@7404 | 35 mkdir -p $fs/usr |
Hans-G?nter@23420 | 36 cp -a $install/usr/lib $fs/usr |
Hans-G?nter@23420 | 37 |
slaxemulator@7404 | 38 # remove perllocal.pod and .packlist |
Hans-G?nter@23420 | 39 find $fs -name perllocal.pod -delete |
Hans-G?nter@23420 | 40 find $fs -name .packlist -delete |
slaxemulator@7404 | 41 } |