aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-graph
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2015-11-30 11:44:04 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2015-11-30 11:44:04 +0000
commit26bf78111f763340e730a2a4e250c35be3fd62f5 (patch)
treef13500bb7f983d646886d58216111eaac97ad9d8 /testing/perl-graph
parent26f5655648d00aca227ae9d2af9b57c3211624f8 (diff)
downloadaports-26bf78111f763340e730a2a4e250c35be3fd62f5.tar.bz2
aports-26bf78111f763340e730a2a4e250c35be3fd62f5.tar.xz
testing/perl-graph: new aport
Diffstat (limited to 'testing/perl-graph')
-rw-r--r--testing/perl-graph/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/perl-graph/APKBUILD b/testing/perl-graph/APKBUILD
new file mode 100644
index 0000000000..bb8cf53b1b
--- /dev/null
+++ b/testing/perl-graph/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=perl-graph
+_pkgreal=Graph
+pkgver=0.9704
+pkgrel=0
+pkgdesc="unknown"
+url="http://search.cpan.org/dist/Graph/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/J/JH/JHI/$_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="1ab4e49420e56eeb1bc81d842aa8f3af Graph-0.9704.tar.gz"
+sha256sums="325e8eb07be2d09a909e450c13d3a42dcb2a2e96cc3ac780fe4572a0d80b2a25 Graph-0.9704.tar.gz"
+sha512sums="1eed5049577112cc2e41a83f6b3b6a22a08170597b5cb89e2eab6cc68386bfd989d3953d7ceab85bcfbd7d097a6925bd8eb43f48eed1ac07469ea4b2432149da Graph-0.9704.tar.gz"