mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 12:15:32 +03:00
49 lines
1.3 KiB
Text
49 lines
1.3 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=2
|
|
pkgdesc="Interface to AT&T's GraphViz. Deprecated. See GraphViz2"
|
|
url="https://metacpan.org/release/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="https://cpan.metacpan.org/authors/id/R/RS/RSAVAGE/$_pkgreal-$pkgver.tgz"
|
|
|
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
|
|
|
prepare() {
|
|
default_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
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
|
}
|
|
|
|
|
|
|
|
sha512sums="b37d1303c243a306443d5adf35d597f4e259cedaa7956d80bdb47cba811ce94e63da6b42a23d192fa9da628d999f1c023911f3f956a575aeabe673f77f3f01d9 GraphViz-2.24.tgz"
|