aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/perl-apache-test/APKBUILD
blob: a1a454bacb73e87edd2f57d39b3b795c4166e039 (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
41
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=perl-apache-test
_pkgreal=Apache-Test
pkgver=1.38
pkgrel=0
pkgdesc="unknown"
url="http://search.cpan.org/dist/Apache-Test/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends="   "
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/P/PH/PHRED/$_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
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

md5sums="dc7edf358dfea5bcf6ef4cdfe81e5dad  Apache-Test-1.38.tar.gz"
sha256sums="321717f58636ed0aa85cba6d69fc01e2ccbc90ba71ec2dcc2134d8401af65145  Apache-Test-1.38.tar.gz"
sha512sums="416a89990e1947dfd970b806a28b52197165bbe1a482402aa5649f6e2692866a54cc8a4a7adcce83350e2f16aada409fd6c506c0d139b624319c5ebaa58604cc  Apache-Test-1.38.tar.gz"