Commit 0c0ddc09 authored by Leo's avatar Leo Committed by Natanael Copa

main/perl-test-tcp: upgrade to 2.20

parent 5853296a
......@@ -2,23 +2,22 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-test-tcp
_pkgreal=Test-TCP
pkgver=2.19
pkgrel=1
pkgver=2.20
pkgrel=0
pkgdesc="Testing TCP program"
url="http://search.cpan.org/dist/Test-TCP/"
url="https://metacpan.org/release/Test-TCP"
arch="noarch"
license="GPL PerlArtistic"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
cpandepends="perl-test-sharedfork"
depends="$cpandepends"
makedepends="perl-dev perl-module-build"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/T/TO/TOKUHIROM/$_pkgreal-$pkgver.tar.gz"
source="https://cpan.metacpan.org/authors/id/M/MI/MIYAGAWA/Test-TCP-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
cd "$builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
......@@ -34,4 +33,4 @@ package() {
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="1de76f5dc456697d8ea0799bb60d858b0e1c0089f066d1a446c46708e6cb3441849e264526082a066c31519ded4731cde9310b8a493f571ed670c2fbb60a3e85 Test-TCP-2.19.tar.gz"
sha512sums="acd8c58f64f5a6d99468898a7ddd00485ff7cc9f1d992b93011692c16c467576ea39376f14401b637dc05463ae03c7cd8ea456be03fb39175b40202e7c4d6334 Test-TCP-2.20.tar.gz"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment