summaryrefslogtreecommitdiffstats
path: root/main/perl-authen-sasl/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-09-10 13:15:49 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-09-10 13:15:49 +0000
commit421596d42f8374809d00e5fc8048be93be1cd24c (patch)
treee9b687b046fbd4ea67fed1174d451298108c3dea /main/perl-authen-sasl/APKBUILD
parent3ce1ef19f96e30aa0a86d1518abf42e241e37a1c (diff)
downloadaports-421596d42f8374809d00e5fc8048be93be1cd24c.tar.bz2
aports-421596d42f8374809d00e5fc8048be93be1cd24c.tar.xz
main/perl-authen-sasl: new aport
SASL Authentication framework for perl http://search.cpan.org/dist/Authen-SASL/
Diffstat (limited to 'main/perl-authen-sasl/APKBUILD')
-rw-r--r--main/perl-authen-sasl/APKBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/main/perl-authen-sasl/APKBUILD b/main/perl-authen-sasl/APKBUILD
new file mode 100644
index 000000000..023808de2
--- /dev/null
+++ b/main/perl-authen-sasl/APKBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Natanael Copa <natanael.copa@gmail.com>
+pkgname=perl-authen-sasl
+_realname=Authen-SASL
+pkgver=2.12
+pkgrel=0
+pkgdesc="SASL Authentication framework for perl"
+url="http://search.cpan.org/dist/Authen-SASL/"
+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
+}
+
+md5sums="ddbcb7917bf3659d5cf1ee6b681f06d4 Authen-SASL-2.12.tar.gz"