diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-06-06 14:47:37 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-06-06 14:47:37 +0000 |
commit | eded12503a1a5ef7325604081c6f4b3c043996d6 (patch) | |
tree | 71a013fe17a43fa61240038798fd23925d0ad16f /testing | |
parent | 0c4a5f83e20b1d53f7691af0bd60b41956edc35d (diff) | |
download | aports-eded12503a1a5ef7325604081c6f4b3c043996d6.tar.bz2 aports-eded12503a1a5ef7325604081c6f4b3c043996d6.tar.xz |
testing/perl-graphviz: upgrade to 2.21
Diffstat (limited to 'testing')
-rw-r--r-- | testing/perl-graphviz/APKBUILD | 34 |
1 files changed, 18 insertions, 16 deletions
diff --git a/testing/perl-graphviz/APKBUILD b/testing/perl-graphviz/APKBUILD index 32aa8058ce..f2c3ccf210 100644 --- a/testing/perl-graphviz/APKBUILD +++ b/testing/perl-graphviz/APKBUILD @@ -1,16 +1,16 @@ # Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista <francesco.colista@gmail.com> -# Maintainer: Francesco Colista <francesco.colista@gmail.com> +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=perl-graphviz _pkgreal=GraphViz -pkgver=2.20 +pkgver=2.21 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" +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" @@ -20,23 +20,25 @@ source="http://search.cpan.org/CPAN/authors/id/R/RS/RSAVAGE/$_pkgreal-$pkgver.tg _builddir="$srcdir/$_pkgreal-$pkgver" prepare() { - cd "$_builddir" - perl Build.PL installdirs=vendor || return 1 + 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}'` - ./Build + cd "$_builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + make && make test } package() { - cd "$_builddir" - ./Build install destdir="$pkgdir" || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } -md5sums="714dedddd36d86950cd436d87d1d52b6 GraphViz-2.20.tgz" -sha256sums="23eec8c7e0bfada7b1a172b79e87bdd759fc3360c594159fdc228578aff41a5c GraphViz-2.20.tgz" -sha512sums="799651d0643bb326927d749b9ca6f35977d7b9ec4ff044a5b965229a3e9b773c7227b5f24cacf2b765f73126b68529cd75a84c7a646b5009e374c485ce4bb5ac GraphViz-2.20.tgz" + +md5sums="bd5834fe41ace5e0ea5c24dd434cbeef GraphViz-2.21.tgz" +sha256sums="96db3f6bfa566c5027f5e2c4c061aedb4232cd0ca1118b2f278437b36541fc7d GraphViz-2.21.tgz" +sha512sums="e88fdceb9491aae294029376844e5c016891b1d45016080e03159521da980f7f4b1d773a9635cbca61d367ad1b1164f7f54e32a78bcbec3be096e70a9d785545 GraphViz-2.21.tgz" |