blob: 4ee37e507acf96d7c95e39180fa94609f52c834d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Automatically generated by apkbuild-cpan, template 1
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-test-tcp
_pkgreal=Test-TCP
pkgver=2.14
pkgrel=0
pkgdesc="testing TCP program"
url="http://search.cpan.org/dist/Test-TCP/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-test-sharedfork"
cpanmakedepends=" "
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends perl-module-build"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/T/TO/TOKUHIROM/$_pkgreal-$pkgver.tar.gz"
_builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
cd "$_builddir"
}
build() {
cd "$_builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make || return 1
}
package() {
cd "$_builddir"
make install DESTDIR=$pkgdir || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="402e78138e3269dde973960dd3d44d09 Test-TCP-2.14.tar.gz"
sha256sums="b96a3f364748280146fa30a129c72c104133f6768872788b688ea88d4f7d7d01 Test-TCP-2.14.tar.gz"
sha512sums="89c6038ff2660ce8a17001f5574313325bad593f93a6e22e78f46772fe898556fcb9e11e07fa7ecd342703fd246033e242c857e8773c90230fab29c5f677dc03 Test-TCP-2.14.tar.gz"
|