wok-current annotate perl-yaml-syck/receipt @ rev 24890
trafshow: libpcap 1.10 has its own pcap_init
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 05 09:06:43 2022 +0000 (2022-04-05) |
parents | 15650f5d595b |
children |
rev | line source |
---|---|
slaxemulator@9304 | 1 # SliTaz package receipt. |
slaxemulator@9304 | 2 |
slaxemulator@9304 | 3 PACKAGE="perl-yaml-syck" |
Hans-G?nter@24271 | 4 VERSION="1.34" |
slaxemulator@9304 | 5 CATEGORY="development" |
Hans-G?nter@23421 | 6 SHORT_DESC="Perl - Fast, lightweight YAML loader and dumper." |
slaxemulator@9304 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@24271 | 9 WEB_SITE="https://metacpan.org/pod/YAML::Syck" |
Hans-G?nter@24271 | 10 REPOLOGY="perl:yaml-syck" |
Hans-G?nter@23421 | 11 |
Hans-G?nter@23421 | 12 SOURCE="YAML-Syck" |
Hans-G?nter@23421 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23421 | 14 WGET_URL="https://www.cpan.org/modules/by-module/YAML/$TARBALL" |
Hans-G?nter@23421 | 15 |
slaxemulator@9304 | 16 DEPENDS="perl" |
slaxemulator@9304 | 17 BUILD_DEPENDS="perl" |
slaxemulator@9304 | 18 |
pascal@24102 | 19 current_version() |
pascal@24102 | 20 { |
pascal@24102 | 21 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24102 | 22 sed '/release-name/!d;s|.*-v*||;s|<.*||;q' |
pascal@24102 | 23 } |
pascal@24102 | 24 |
slaxemulator@9304 | 25 # Rules to configure and make the package. |
slaxemulator@9304 | 26 compile_rules() |
slaxemulator@9304 | 27 { |
slaxemulator@9304 | 28 perl Makefile.PL -y && |
slaxemulator@9304 | 29 make && |
Hans-G?nter@24271 | 30 make install DESTDIR=$DESTDIR |
slaxemulator@9304 | 31 } |
slaxemulator@9304 | 32 |
slaxemulator@9304 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9304 | 34 genpkg_rules() |
slaxemulator@9304 | 35 { |
Hans-G?nter@24271 | 36 cook_copy_folders lib |
slaxemulator@9304 | 37 } |