summaryrefslogtreecommitdiffstats
path: root/testing/perl-apache-authcookie/APKBUILD
blob: 7363f78821b1208723f387dc897337b3cfe2d8e4 (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
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=perl-apache-authcookie
_pkgreal=Apache-AuthCookie
pkgver=3.19
pkgrel=0
pkgdesc="unknown"
url="http://search.cpan.org/dist/Apache-AuthCookie/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="apache2-mod-perl"
cpanmakedepends=""
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/M/MS/MSCHOUT/$_pkgreal-$pkgver.tar.gz"

_builddir="$srcdir/$_pkgreal-$pkgver"

prepare() {
	cd "$_builddir"
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}

build() {
	cd "$_builddir"
	make
}

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

md5sums="5797a41ed16aea68620b75b58e6d5002  Apache-AuthCookie-3.19.tar.gz"
sha256sums="f592e416ab943ea1b7248f8e473a3479744559a4c15e9512e186761eab6cbb2e  Apache-AuthCookie-3.19.tar.gz"
sha512sums="4e8f8e97487989db1788a9bed8bd7a315634eeea538af61b3ef7ed89d1d618a42e90a9e47f9105584520f7eced11e561e62bfb0e06b692d35b8a51679c5661af  Apache-AuthCookie-3.19.tar.gz"