wok-6.x annotate perl-io-socket-inet6/receipt @ rev 25324
updated squid, squid-auth-helpers and squid-langpack (3.4.2 -> 5.6)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 22 17:10:45 2022 +0100 (2022-07-22) |
parents | 15650f5d595b |
children |
rev | line source |
---|---|
erjo@2656 | 1 # SliTaz package receipt. |
erjo@2656 | 2 |
erjo@2656 | 3 PACKAGE="perl-io-socket-inet6" |
Hans-G?nter@24224 | 4 VERSION="2.73" |
erjo@2656 | 5 CATEGORY="development" |
erjo@2656 | 6 SHORT_DESC="Perl extension for INET6." |
erjo@2656 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@24224 | 9 WEB_SITE="https://metacpan.org/pod/IO::Socket::INET6" |
Hans-G?nter@24224 | 10 REPOLOGY="perl:io-socket-inet6" |
Hans-G?nter@23350 | 11 |
Hans-G?nter@23350 | 12 SOURCE="IO-Socket-INET6" |
Hans-G?nter@23350 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23350 | 14 WGET_URL="https://www.cpan.org/modules/by-module/IO/$TARBALL" |
Hans-G?nter@23350 | 15 |
erjo@2656 | 16 DEPENDS="perl" |
erjo@2656 | 17 BUILD_DEPENDS="perl perl-socket6" |
erjo@2656 | 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 |
erjo@2656 | 25 # Rules to configure and make the package. |
erjo@2656 | 26 compile_rules() |
erjo@2656 | 27 { |
Hans-G?nter@23350 | 28 perl Makefile.PL && |
Hans-G?nter@23350 | 29 make && |
Hans-G?nter@24224 | 30 make install DESTDIR=$DESTDIR |
erjo@2656 | 31 } |
erjo@2656 | 32 |
erjo@2656 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@2656 | 34 genpkg_rules() |
erjo@2656 | 35 { |
Hans-G?nter@24224 | 36 cook_copy_folders lib |
erjo@2656 | 37 } |