wok annotate perl-net-ssleay/receipt @ rev 25680
updated gnu-efi (3.0.14 -> 3.0.17)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 18 18:46:02 2024 +0100 (8 months ago) |
parents | be217921b3d1 |
children |
rev | line source |
---|---|
pascal@1918 | 1 # SliTaz package receipt. |
pascal@1918 | 2 |
pascal@1918 | 3 PACKAGE="perl-net-ssleay" |
Hans-G?nter@24247 | 4 VERSION="1.90" |
pascal@1918 | 5 CATEGORY="development" |
Hans-G?nter@23380 | 6 SHORT_DESC="Perl extension Net::SSLeay." |
pascal@1918 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
pascal@25662 | 9 WEB_SITE="https://metacpan.org/dist/Net-SSLeay" |
Hans-G?nter@24247 | 10 REPOLOGY="perl:net-ssleay" |
Hans-G?nter@23380 | 11 |
pascal@1918 | 12 SOURCE="Net-SSLeay" |
pascal@1918 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23380 | 14 WGET_URL="https://www.cpan.org/modules/by-module/Net/$TARBALL" |
pascal@11256 | 15 |
Hans-G?nter@23380 | 16 DEPENDS="openssl perl" |
Hans-G?nter@23380 | 17 BUILD_DEPENDS="openssl-dev perl" |
pascal@1918 | 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@1918 | 25 # Rules to configure and make the package. |
pascal@1918 | 26 compile_rules() |
pascal@1918 | 27 { |
pascal@11256 | 28 yes '' | perl Makefile.PL && |
pascal@1918 | 29 make && |
Hans-G?nter@24247 | 30 make install DESTDIR=$DESTDIR |
pascal@1918 | 31 } |
pascal@1918 | 32 |
pascal@1918 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1918 | 34 genpkg_rules() |
pascal@1918 | 35 { |
Hans-G?nter@24247 | 36 cook_copy_folders lib |
pascal@1918 | 37 } |