X-Original-To: alpine-aports@mail.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id 51520DC17A6 for ; Thu, 29 Oct 2015 14:33:25 +0000 (UTC) Received: from relay1.infogroup.kiev.ua (tera.infogroup.kiev.ua [195.144.25.26]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 11AA0DC0C4C for ; Thu, 29 Oct 2015 14:33:24 +0000 (UTC) Received: from aveo.com.ua ([195.144.25.27] helo=csync2host1) by relay1.infogroup.kiev.ua with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80.1) (envelope-from ) id 1ZroGZ-00032P-3C; Thu, 29 Oct 2015 16:33:23 +0200 From: Valery Kartel To: alpine-aports@lists.alpinelinux.org Cc: Valery Kartel Subject: [alpine-aports] [PATCH] main/perl-net-smtp-tls-butmaintained: new aport Date: Thu, 29 Oct 2015 16:36:50 +0200 Message-Id: <1446129410-19272-1-git-send-email-valery.kartel@gmail.com> X-Mailer: git-send-email 2.6.1 X-Virus-Scanned: ClamAV using ClamSMTP X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: --- main/perl-net-smtp-tls-butmaintained/APKBUILD | 41 +++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 main/perl-net-smtp-tls-butmaintained/APKBUILD diff --git a/main/perl-net-smtp-tls-butmaintained/APKBUILD b/main/perl-net-smtp-tls-butmaintained/APKBUILD new file mode 100644 index 0000000..9c72d3d --- /dev/null +++ b/main/perl-net-smtp-tls-butmaintained/APKBUILD @@ -0,0 +1,41 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Valery Kartel +# Maintainer: Valery Kartel +pkgname=perl-net-smtp-tls-butmaintained +_pkgreal=Net-SMTP-TLS-ButMaintained +pkgver=0.24 +pkgrel=0 +pkgdesc="An SMTP client supporting TLS and AUTH (DEPRECATED, use Net::SMTPS instead)" +url="http://search.cpan.org/dist/Net-SMTP-TLS-ButMaintained/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="perl-net-ssleay perl-io-socket-ssl perl-digest-hmac" +cpanmakedepends=" " +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/F/FA/FAYLAND/$_pkgreal-$pkgver.tar.gz" + +_builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + cd "$_builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor +} + +build() { + cd "$_builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + make && make test +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +md5sums="45cc8ac31dff1f06ff4bdcdf4d88afdb Net-SMTP-TLS-ButMaintained-0.24.tar.gz" +sha256sums="6b95c08f71579d851c0183f502a700c86a1fecef570e3cee8326c5e4ce66256e Net-SMTP-TLS-ButMaintained-0.24.tar.gz" +sha512sums="28c5145ed5a3ce2beecbe95dde33c6892a4384102f0fe7c795bc92206e34257cae5c993e8c748b462c87a494eab399e45e56737bc3c424aa155613bbee2e4588 Net-SMTP-TLS-ButMaintained-0.24.tar.gz" -- 2.6.1 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---