mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-31 11:21:17 +02:00
42 lines
1.4 KiB
Plaintext
42 lines
1.4 KiB
Plaintext
# Automatically generated by apkbuild-cpan, template 1
|
|
# Contributor: Francesco Colista <francesco.colista@gmail.com>
|
|
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
|
|
pkgname=perl-graphviz
|
|
_pkgreal=GraphViz
|
|
pkgver=2.14
|
|
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"
|
|
cpanmakedepends="perl-test-pod "
|
|
depends="$cpandepends"
|
|
makedepends="perl-dev graphviz $cpanmakedepends"
|
|
subpackages=""
|
|
source="http://search.cpan.org/CPAN/authors/id/R/RS/RSAVAGE/$_pkgreal-$pkgver.tgz"
|
|
|
|
_builddir="$srcdir/$_pkgreal-$pkgver"
|
|
|
|
prepare() {
|
|
cd "$_builddir"
|
|
perl Build.PL installdirs=vendor || return 1
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
|
|
./Build
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
./Build install destdir="$pkgdir" || return 1
|
|
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
|
}
|
|
|
|
|
|
md5sums="c401c26a2695d82f3cb1878bbef2d7b1 GraphViz-2.14.tgz"
|
|
sha256sums="9958e697ada73f47a7e4e6529181f5d74ad3e212716c18123053cb4a085cf2e0 GraphViz-2.14.tgz"
|
|
sha512sums="f0a9c14dcb4456fd426e6c8adaa2757a057800fad8022f9f6e43b275b9cc8b4a31319e83bf659b4d0d608e400caa3268fb884fc7db437f068d2b96111a5c134e GraphViz-2.14.tgz"
|