wok annotate perl-smtp-ssl/receipt @ rev 24347

Up expat (2.4.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 02 09:41:22 2022 +0000 (2022-02-02)
parents ca4a422cce07
children b27d8c263cba
rev   line source
rocky@7864 1 # SliTaz package receipt.
rocky@7864 2
rocky@7864 3 PACKAGE="perl-smtp-ssl"
Hans-G?nter@24251 4 VERSION="1.04"
rocky@7864 5 CATEGORY="development"
rocky@7864 6 SHORT_DESC="SSL support for Net::SMTP."
rocky@7864 7 MAINTAINER="rocky@slitaz.org"
pascal@14702 8 LICENSE="GPL"
Hans-G?nter@24251 9 WEB_SITE="https://metacpan.org/pod/Net::SMTP::SSL"
Hans-G?nter@24251 10 REPOLOGY="perl:net-smtp-ssl"
Hans-G?nter@24251 11
rocky@7864 12 SOURCE="Net-SMTP-SSL"
rocky@7864 13 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@24251 14 WGET_URL="https://www.cpan.org/modules/by-module/Net/$TARBALL"
Hans-G?nter@24251 15
Hans-G?nter@24251 16 DEPENDS="perl perl-authen-sasl perl-io-socket-ssl perl-mime-base64 perl-net-ssleay"
Hans-G?nter@24251 17 BUILD_DEPENDS="perl"
rocky@7864 18
pascal@24103 19 current_version()
pascal@24103 20 {
pascal@24103 21 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24103 22 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
pascal@24103 23 }
pascal@24103 24
rocky@7864 25 # Rules to configure and make the package.
rocky@7864 26 compile_rules()
rocky@7864 27 {
rocky@7864 28 yes n | perl Makefile.PL &&
rocky@7864 29 make &&
Hans-G?nter@24251 30 make install DESTDIR=$DESTDIR
rocky@7864 31 }
rocky@7864 32
rocky@7864 33 # Rules to gen a SliTaz package suitable for Tazpkg.
rocky@7864 34 genpkg_rules()
rocky@7864 35 {
Hans-G?nter@24251 36 cook_copy_folders lib
rocky@7864 37 }