1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-20 09:45:12 +03:00
aports/community/perl-graphviz/APKBUILD
Hugo Osvaldo Barrera cdd3ce01ff */*: drop redundant CARGO_PROFILE_* variables, collapse newlines
The cargo vars are now set in abuild.conf by default.

Newlines done with:

    find . -name APKBUILD -exec sed -i '/^$/N;/^\n$/D' {} \;

See also: https://stackoverflow.com/a/4522043
2023-01-07 02:42:07 +01:00

44 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.25
pkgrel=0
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 font-dejavu perl-test-pod"
subpackages="$pkgname-doc"
source="$_pkgreal-$pkgver.tar.gz::https://github.com/graphviz-perl/GraphViz/archive/refs/tags/$pkgver.tar.gz"
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="
4c469c7eb4863fd0ee9cda1e88288ddcc559910174f134aef7b9edcadcb4a5216c37734cff52e7bb2b35d3bfab6e068794936991be32b9a012b19bbfe8edaabb GraphViz-2.25.tar.gz
"