summaryrefslogtreecommitdiff
path: root/manualPorts/graphviz/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'manualPorts/graphviz/Pkgfile')
-rw-r--r--manualPorts/graphviz/Pkgfile25
1 files changed, 25 insertions, 0 deletions
diff --git a/manualPorts/graphviz/Pkgfile b/manualPorts/graphviz/Pkgfile
new file mode 100644
index 0000000..a0e4b14
--- /dev/null
+++ b/manualPorts/graphviz/Pkgfile
@@ -0,0 +1,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}
+}