aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-graphviz/APKBUILD
blob: 32aa8058ce9852f0444bdcf9464639d10b40082e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# 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.20
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"
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"
        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="714dedddd36d86950cd436d87d1d52b6  GraphViz-2.20.tgz"
sha256sums="23eec8c7e0bfada7b1a172b79e87bdd759fc3360c594159fdc228578aff41a5c  GraphViz-2.20.tgz"
sha512sums="799651d0643bb326927d749b9ca6f35977d7b9ec4ff044a5b965229a3e9b773c7227b5f24cacf2b765f73126b68529cd75a84c7a646b5009e374c485ce4bb5ac  GraphViz-2.20.tgz"