summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStelian Ionescu <sionescu@common-lisp.net>2009-06-20 00:27:33 +0200
committerStelian Ionescu <sionescu@common-lisp.net>2009-06-20 00:27:33 +0200
commitbc59dcf466be3d8abea312ddc08e1958a06d5d08 (patch)
tree35597324f7e907d66bab9ebfd4d7ebe7640f2544
parentdev-lisp/ecls: use src_prepare (diff)
downloadlisp-bc59dcf466be3d8abea312ddc08e1958a06d5d08.tar.gz
lisp-bc59dcf466be3d8abea312ddc08e1958a06d5d08.tar.bz2
lisp-bc59dcf466be3d8abea312ddc08e1958a06d5d08.zip
Add dev-lisp/cl-graphviz-0.1_pre20081112
-rw-r--r--dev-lisp/cl-graphviz/Manifest3
-rw-r--r--dev-lisp/cl-graphviz/cl-graphviz-0.1_pre20081112.ebuild24
-rw-r--r--dev-lisp/cl-graphviz/files/gentoo-fix-libgvc-loading.patch14
3 files changed, 41 insertions, 0 deletions
diff --git a/dev-lisp/cl-graphviz/Manifest b/dev-lisp/cl-graphviz/Manifest
new file mode 100644
index 00000000..0be8d98c
--- /dev/null
+++ b/dev-lisp/cl-graphviz/Manifest
@@ -0,0 +1,3 @@
+AUX gentoo-fix-libgvc-loading.patch 608 RMD160 ada89780bc63579520de87beb3d4497cc0f7e4d1 SHA1 6bddcd9b19e9863b82a39cdc4588f5ee8a841174 SHA256 309b719dd7e16fd168cf3a3d6f70ee6a7b833b837a52a69b6b072feb9de20365
+DIST cl-graphviz-0.1_pre20081112.tar.bz2 8482 RMD160 2ac9e1f9ea7f576d7bbac412fd55fb46c7ee4fda SHA1 c79962fa4a8eaebce6a441abdcdf075898b184b5 SHA256 493ddb56bf9516113a00be2cec208feac0f2f6ab986040cfaf7de7c70620684c
+EBUILD cl-graphviz-0.1_pre20081112.ebuild 547 RMD160 9c065202e82c66b8414c9f899176e47ab8c179cd SHA1 f8bc8e20cb583805601aad1ee23691e138d72afa SHA256 7485ddd535cbb61504614423ad9f50a790eb0276345088e7a53147555dc5ba64
diff --git a/dev-lisp/cl-graphviz/cl-graphviz-0.1_pre20081112.ebuild b/dev-lisp/cl-graphviz/cl-graphviz-0.1_pre20081112.ebuild
new file mode 100644
index 00000000..21ef2cd2
--- /dev/null
+++ b/dev-lisp/cl-graphviz/cl-graphviz-0.1_pre20081112.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=2
+
+inherit common-lisp-2 eutils
+
+DESCRIPTION="Common Lisp CFFI-based interface to graphviz."
+HOMEPAGE="http://common-lisp.net/project/cl-graphviz/"
+SRC_URI="http://common-lisp.net/~sionescu/files/${P}.tar.bz2"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND="media-gfx/graphviz
+ dev-lisp/cffi
+ dev-lisp/metabang-bind"
+
+src_prepare() {
+ epatch "${FILESDIR}"/gentoo-fix-libgvc-loading.patch
+}
diff --git a/dev-lisp/cl-graphviz/files/gentoo-fix-libgvc-loading.patch b/dev-lisp/cl-graphviz/files/gentoo-fix-libgvc-loading.patch
new file mode 100644
index 00000000..c8598471
--- /dev/null
+++ b/dev-lisp/cl-graphviz/files/gentoo-fix-libgvc-loading.patch
@@ -0,0 +1,14 @@
+diff -ur cl-graphviz-0.1_pre20081112.orig/package.lisp cl-graphviz-0.1_pre20081112/package.lisp
+--- cl-graphviz-0.1_pre20081112.orig/package.lisp 2009-06-20 00:16:35.000000000 +0200
++++ cl-graphviz-0.1_pre20081112/package.lisp 2009-06-20 00:24:06.000000000 +0200
+@@ -20,8 +20,8 @@
+ (defvar *graphviz-foreign-library-directories* (list "/usr/lib/graphviz/" "/usr/lib/"))
+
+ (define-foreign-library libgvc
+- (:unix (:or "libgvc.so.4" "libgvc32.so.4"))
+- (:darwin "libgvc.so")
++ (:unix (:or "libgvc.so" "libgvc32.so"))
++ (:darwin "libgvc.dylib")
+ (:windows ("libgvc.dll" "msvcrt.dll"))
+ (t "libgvc"))
+