aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-data-guid
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2013-12-23 15:45:56 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2013-12-24 09:11:11 +0000
commit907c34270af2279302bbebe18c44183885515d14 (patch)
tree083c40d3797794cc546630249fcb21a0e0269bd3 /main/perl-data-guid
parent5df1443d2926b999545777e9ce95818213777a1e (diff)
downloadaports-907c34270af2279302bbebe18c44183885515d14.tar.bz2
aports-907c34270af2279302bbebe18c44183885515d14.tar.xz
main/perl-data-guid: new aport
Diffstat (limited to 'main/perl-data-guid')
-rw-r--r--main/perl-data-guid/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/main/perl-data-guid/APKBUILD b/main/perl-data-guid/APKBUILD
new file mode 100644
index 0000000000..8f450f8e8d
--- /dev/null
+++ b/main/perl-data-guid/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
+# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
+pkgname=perl-data-guid
+_pkgreal=Data-GUID
+pkgver=0.048
+pkgrel=0
+pkgdesc="globally unique identifiers"
+url="http://search.cpan.org/dist/Data-GUID/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends="perl-sub-install perl-sub-exporter perl-data-uuid"
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+}
+
+build() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ make && make test
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="8709af7609214edcad1ec99ecd62f048 Data-GUID-0.048.tar.gz"
+sha256sums="cb263b1e6eeecc5797de6f945d42ace2db26c156172883550b73fa2ecdab29dc Data-GUID-0.048.tar.gz"
+sha512sums="42c0472f3614d342440c41aa009e906cd2874c7578cf1a197711a22ff2c02227cec84ee6e497b64e8f52843a371d10a09732c713c58a6d189aba399916581cd3 Data-GUID-0.048.tar.gz"