aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-authen-sasl/APKBUILD
blob: 35e3cba5f934d252be4b33b6cfc52bb75c85c957 (plain) (blame)
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
# Maintainer:  Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-authen-sasl
_realname=Authen-SASL
pkgver=2.16
pkgrel=0
pkgdesc="SASL Authentication framework for perl"
url="http://search.cpan.org/dist/Authen-SASL/"
arch="noarch"
license="GPL PerlArtistic"
depends="perl perl-digest-hmac"
makedepends="perl-dev"
install=
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/G/GB/GBARR/Authen-SASL-$pkgver.tar.gz"

build() {
	cd "$srcdir/$_realname-$pkgver"

	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
	make || return 1
	make DESTDIR="$pkgdir" install
	# creates file collision among perl modules
	find "$pkgdir" -name perllocal.pod -delete
}

sha512sums="d472b8b07b8915e65a219c0a40a7b6f25ca4fb767df301f426224b8f6ebf24d66fcb4422a1f421c39631e84585af06f6c64e41abe11e1e505d03e43a9f86bd6f  Authen-SASL-2.16.tar.gz"