blob: a0e4b14f0a43975902d03e2f94fe7fa975f67978 (
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
|
# Description: Graphviz is open source graph visualization software.
# URL: http://www.graphviz.org/
# Maintainer: Erich Eckner, crux at eckner dot net
# Contributor: Danny Rawlins, crux at romster dot me
# Depends on: libgd pango
name=graphviz
version=2.42.3
release=1
source=(https://www2.graphviz.org/Packages/stable/portable_source/graphviz-$version.tar.gz
ghostscript918.patch)
build() {
cd $name-$version
patch -p1 -i $SRC/ghostscript918.patch
./autogen.sh NOCONFIG
export LIBPOSTFIX=/
export CXXFLAGS+=' -fPIC -fpermissive'
./configure --prefix=/usr
make
make DESTDIR=$PKG install
rm $PKG/usr/share/$name/doc/{AUTHORS,COPYING,ChangeLog,NEWS}
}
|