diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-09-13 13:54:02 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-09-13 13:54:08 +0000 |
commit | 23ade127c0883e630f18ed9f206f248e8b1a0b2f (patch) | |
tree | 78177e8801e3b480d32ad0004c2bc1b1ca70bfa4 /community/perl-graphviz | |
parent | 973c3a5d1724a7486322e936b003e484715a97f4 (diff) | |
download | aports-23ade127c0883e630f18ed9f206f248e8b1a0b2f.tar.bz2 aports-23ade127c0883e630f18ed9f206f248e8b1a0b2f.tar.xz |
community/perl-graphviz: moved from testing, upgrade to 2.22
Diffstat (limited to 'community/perl-graphviz')
-rw-r--r-- | community/perl-graphviz/APKBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/community/perl-graphviz/APKBUILD b/community/perl-graphviz/APKBUILD new file mode 100644 index 0000000000..67f8449b64 --- /dev/null +++ b/community/perl-graphviz/APKBUILD @@ -0,0 +1,44 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=perl-graphviz +_pkgreal=GraphViz +pkgver=2.22 +pkgrel=0 +pkgdesc="Interface to AT&T's GraphViz. Deprecated. See GraphViz2" +url="http://search.cpan.org/dist/GraphViz/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="perl-libwww perl-file-which perl-xml-twig perl-xml-xpath + perl-ipc-run perl-parse-recdescent perl-module-build perl-test2-suite" +cpanmakedepends="perl-test-pod " +depends="$cpandepends" +makedepends="perl-dev graphviz $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/R/RS/RSAVAGE/$_pkgreal-$pkgver.tgz" + +_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="8711db245c84d2e15b8c344bd8bebad0 GraphViz-2.22.tgz" +sha256sums="72ee8892421152ecd5d91a822fbfaeccb5ad83d7191c4b6e2f57f99e27d046a3 GraphViz-2.22.tgz" +sha512sums="5c1f3353341f791508ab813cd3b6e17965caed76fc32b09b15d63aa260242f991cb3a7e8200778df71d31633636fb589b5aec9c3b4dc1ba9716581783b5e1bf3 GraphViz-2.22.tgz" |