blob: 6549bb48bda10867301ce84ac8a9dcee7350cfb6 (
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
40
|
# Automatically generated by apkbuild-cpan, template 1
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-test-tcp
_pkgreal=Test-TCP
pkgver=2.02
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"
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"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
perl Build.PL installdirs=vendor || return 1
}
build() {
cd "$_builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
./Build && ./Build test
}
package() {
cd "$_builddir"
./Build install destdir="$pkgdir" || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="9014b0858868530a0786ddf4b1c9b151 Test-TCP-2.02.tar.gz"
sha256sums="6202356c1af56d58f21a4fc48592d0a51a75c985dbfda4e4e64961c1434b4bac Test-TCP-2.02.tar.gz"
sha512sums="acaa87710f1c6afab6b444027b55fd46dfcdfacb3f1b8e42156047b4fef5e605e02c1faf03b7a8cb6d3cfd3c064ee288d93c8302fca7a86e8e138c83437d7700 Test-TCP-2.02.tar.gz"
|