wok-current annotate perl-net-ssleay/receipt @ rev 24377
modified recipe for libboost-locale-dev
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 06 09:47:43 2022 +0100 (2022-02-06) |
parents | 15650f5d595b |
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" |
Hans-G?nter@24247 | 9 WEB_SITE="https://metacpan.org/pod/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 } |