aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/perl-apache-authcookie/APKBUILD
blob: e25a5a8501312a8e15f8074165ac08036bcc6f01 (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.24
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 perl-class-load perl-scope-guard perl-autobox $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="757516efec96965b6bb41b3fe8bd79d9  Apache-AuthCookie-3.24.tar.gz"
sha256sums="af153ba6ad362d5834565b4484b0e06e2eca64a5d3e8d83eda6be03e23f9b5f9  Apache-AuthCookie-3.24.tar.gz"
sha512sums="023cc9c695d5b43a92a46b80a2c8ce556d89f0f3ed83d05cb068db5b50d96e1a0e4cd52491d2eb5f0e680e073bc16b36c214b2527a5c5d31eee1a37ed6cd2f60  Apache-AuthCookie-3.24.tar.gz"