summaryrefslogtreecommitdiffstats
path: root/extra/perl-uri/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-05-21 20:11:12 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-05-21 20:11:12 +0000
commit6c27512e86b5edaa329e68b1eae0273e992ffe5b (patch)
treefa20ddee70599337fad7ec6e29f1b8fc513a6f04 /extra/perl-uri/APKBUILD
parent2b140f85d8e0eceb090922ca60a48a91462f7c6b (diff)
downloadaports-6c27512e86b5edaa329e68b1eae0273e992ffe5b.tar.bz2
aports-6c27512e86b5edaa329e68b1eae0273e992ffe5b.tar.xz
extra/perl-uri: new aport
Perl Module: form Resource Identifiers (absolute and relative) http://search.cpan.org/dist/URI/
Diffstat (limited to 'extra/perl-uri/APKBUILD')
-rw-r--r--extra/perl-uri/APKBUILD22
1 files changed, 22 insertions, 0 deletions
diff --git a/extra/perl-uri/APKBUILD b/extra/perl-uri/APKBUILD
new file mode 100644
index 000000000..e95b8411c
--- /dev/null
+++ b/extra/perl-uri/APKBUILD
@@ -0,0 +1,22 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=perl-uri
+pkgver=1.37
+pkgrel=0
+pkgdesc="Perl Module: form Resource Identifiers (absolute and relative)"
+url="http://search.cpan.org/dist/URI/"
+license="PerlArtistic"
+subpackages="$pkgname-doc"
+depends="perl"
+makedepends=""
+source="http://www.cpan.org/authors/id/G/GA/GAAS/URI-$pkgver.tar.gz"
+
+build ()
+{
+ cd "$srcdir"/URI-$pkgver
+ perl Makefile.PL INSTALLDIRS=vendor || return 1
+ make || return 1
+ make install DESTDIR="$pkgdir" || return 1
+ find "$pkgdir" -name perllocal.pod -delete
+ find "$pkgdir" -name .packlist -delete
+}
+md5sums="b81b3610b78654e11c099f74a5247860 URI-1.37.tar.gz"