mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-09 07:17:12 +02:00
45 lines
1.5 KiB
Plaintext
45 lines
1.5 KiB
Plaintext
# 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=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="b57b32444e73d24cf9c374bf38bad699 GraphViz-2.24.tgz"
|
|
sha256sums="d95efac4cdeedb18283100efe3e00c59c1add524d9ce88c1c8a358359122f5ad GraphViz-2.24.tgz"
|
|
sha512sums="b37d1303c243a306443d5adf35d597f4e259cedaa7956d80bdb47cba811ce94e63da6b42a23d192fa9da628d999f1c023911f3f956a575aeabe673f77f3f01d9 GraphViz-2.24.tgz"
|