wok annotate perl-time-hires/receipt @ rev 25064

openvas-libraries, openvas-client: update gnutls calls
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 08 16:46:37 2022 +0000 (2022-06-08)
parents 15650f5d595b
children b27d8c263cba
rev   line source
pascal@1695 1 # SliTaz package receipt.
pascal@1695 2
pascal@1695 3 PACKAGE="perl-time-hires"
Hans-G?nter@24263 4 VERSION="1.9764"
pascal@1695 5 CATEGORY="development"
Hans-G?nter@23407 6 SHORT_DESC="Perl extension Time::HiRes."
pascal@1695 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14702 8 LICENSE="GPL"
Hans-G?nter@24263 9 WEB_SITE="https://metacpan.org/pod/Time::HiRes"
Hans-G?nter@24263 10 REPOLOGY="perl:time-hires"
Hans-G?nter@23407 11
Hans-G?nter@23407 12 SOURCE="Time-HiRes"
Hans-G?nter@23407 13 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23407 14 WGET_URL="https://www.cpan.org/modules/by-module/Time/$TARBALL"
Hans-G?nter@23407 15
pascal@1695 16 DEPENDS="perl"
pascal@1695 17 BUILD_DEPENDS="perl"
pascal@1695 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
pascal@1695 25 # Rules to configure and make the package.
pascal@1695 26 compile_rules()
pascal@1695 27 {
pascal@1695 28 perl Makefile.PL &&
pascal@1695 29 make &&
Hans-G?nter@24263 30 make install DESTDIR=$DESTDIR
pascal@1695 31 }
pascal@1695 32
pascal@1695 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1695 34 genpkg_rules()
pascal@1695 35 {
Hans-G?nter@24263 36 cook_copy_folders lib
pascal@1695 37 }