mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 11:45:18 +03:00
44 lines
1.2 KiB
Text
44 lines
1.2 KiB
Text
# 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.24
|
|
pkgrel=3
|
|
pkgdesc="Interface to AT&T's GraphViz. Deprecated. See GraphViz2"
|
|
url="https://metacpan.org/release/GraphViz/"
|
|
arch="noarch"
|
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
|
depends="
|
|
perl perl-libwww perl-file-which perl-xml-twig perl-xml-xpath perl-ipc-run
|
|
perl-parse-recdescent perl-module-build perl-test2-suite
|
|
"
|
|
makedepends="graphviz perl-test-pod"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/R/RS/RSAVAGE/$_pkgreal-$pkgver.tgz"
|
|
|
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
|
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
|
}
|
|
|
|
build() {
|
|
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
|
}
|
|
|
|
|
|
|
|
sha512sums="b37d1303c243a306443d5adf35d597f4e259cedaa7956d80bdb47cba811ce94e63da6b42a23d192fa9da628d999f1c023911f3f956a575aeabe673f77f3f01d9 GraphViz-2.24.tgz"
|