summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2005-09-20 15:35:27 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2005-09-20 15:35:27 +0000
commit4bbada475fd50b9c4f4be8f78e14026221f28d4f (patch)
treeeb07d6b859c4892c793dff9a7e2ff9f39707b09c /dev-lisp
parentFix multilib-strict. Bug #106634 (diff)
downloadgentoo-2-4bbada475fd50b9c4f4be8f78e14026221f28d4f.tar.gz
gentoo-2-4bbada475fd50b9c4f4be8f78e14026221f28d4f.tar.bz2
gentoo-2-4bbada475fd50b9c4f4be8f78e14026221f28d4f.zip
Initial port. Ebuild contributed by Matthew Kennedy <mkennedy@gentoo.org>.
(Portage version: 2.0.52-r1)
Diffstat (limited to 'dev-lisp')
-rw-r--r--dev-lisp/cl-sb-readline/ChangeLog11
-rw-r--r--dev-lisp/cl-sb-readline/Manifest4
-rw-r--r--dev-lisp/cl-sb-readline/cl-sb-readline-0.1.ebuild32
-rw-r--r--dev-lisp/cl-sb-readline/files/0.1-load-foreign-library-gentoo.patch14
-rw-r--r--dev-lisp/cl-sb-readline/files/digest-cl-sb-readline-0.11
-rw-r--r--dev-lisp/cl-sb-readline/metadata.xml5
6 files changed, 67 insertions, 0 deletions
diff --git a/dev-lisp/cl-sb-readline/ChangeLog b/dev-lisp/cl-sb-readline/ChangeLog
new file mode 100644
index 000000000000..29779909d04b
--- /dev/null
+++ b/dev-lisp/cl-sb-readline/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-lisp/cl-sb-readline
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-sb-readline/ChangeLog,v 1.1 2005/09/20 15:35:27 mkennedy Exp $
+
+*cl-sb-readline-0.1 (20 Sep 2005)
+
+ 20 Sep 2005; Matthew Kennedy <mkennedy@gentoo.org>
+ +files/0.1-load-foreign-library-gentoo.patch, +metadata.xml,
+ +cl-sb-readline-0.1.ebuild:
+ Initial port. Ebuild contributed by Matthew Kennedy <mkennedy@gentoo.org>.
+
diff --git a/dev-lisp/cl-sb-readline/Manifest b/dev-lisp/cl-sb-readline/Manifest
new file mode 100644
index 000000000000..eed063ddba8c
--- /dev/null
+++ b/dev-lisp/cl-sb-readline/Manifest
@@ -0,0 +1,4 @@
+MD5 1a94e839443bb113672e57db0cac2610 cl-sb-readline-0.1.ebuild 799
+MD5 9b65b0341efc8f4b29498aad23315229 metadata.xml 164
+MD5 9615ca5075924c6112c57fb70d1ca5bd files/0.1-load-foreign-library-gentoo.patch 638
+MD5 85bd51806886ebc71dcfe5cf442ac7ad files/digest-cl-sb-readline-0.1 65
diff --git a/dev-lisp/cl-sb-readline/cl-sb-readline-0.1.ebuild b/dev-lisp/cl-sb-readline/cl-sb-readline-0.1.ebuild
new file mode 100644
index 000000000000..5b59b877a46a
--- /dev/null
+++ b/dev-lisp/cl-sb-readline/cl-sb-readline-0.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-sb-readline/cl-sb-readline-0.1.ebuild,v 1.1 2005/09/20 15:35:27 mkennedy Exp $
+
+inherit common-lisp eutils
+
+DESCRIPTION="Implementation of GNU Readline support for SBCL"
+HOMEPAGE="http://www.cliki.net/sb-readline"
+SRC_URI="http://www.caddr.com/lisp/sb-readline/sb-readline-${PV}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+DEPEND=">=dev-lisp/sbcl-0.9.3"
+
+CLPACKAGE=sb-readline
+
+S=${WORKDIR}/sb-readline-${PV}
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${PV}-load-foreign-library-gentoo.patch
+}
+
+src_install() {
+ common-lisp-install sb-readline.{lisp,asd}
+ common-lisp-system-symlink
+ dodoc COPYING
+ dohtml README.html
+}
diff --git a/dev-lisp/cl-sb-readline/files/0.1-load-foreign-library-gentoo.patch b/dev-lisp/cl-sb-readline/files/0.1-load-foreign-library-gentoo.patch
new file mode 100644
index 000000000000..66fa09fcc06b
--- /dev/null
+++ b/dev-lisp/cl-sb-readline/files/0.1-load-foreign-library-gentoo.patch
@@ -0,0 +1,14 @@
+diff -ur sb-readline-0.1.orig/sb-readline.lisp sb-readline-0.1/sb-readline.lisp
+--- sb-readline-0.1.orig/sb-readline.lisp 2003-06-09 10:41:47.000000000 -0500
++++ sb-readline-0.1/sb-readline.lisp 2005-09-20 10:24:58.000000000 -0500
+@@ -8,8 +8,8 @@
+ (in-package :readline)
+
+ (eval-when (:compile-toplevel :load-toplevel :execute)
+- (load-1-foreign "/lib/libncurses.so")
+- (load-1-foreign "/lib/libreadline.so"))
++ (load-shared-object "/lib/libncurses.so")
++ (load-shared-object "/lib/libreadline.so"))
+
+ (define-alien-routine "add_history" void (command c-string))
+ (define-alien-routine "readline" c-string (prompt c-string))
diff --git a/dev-lisp/cl-sb-readline/files/digest-cl-sb-readline-0.1 b/dev-lisp/cl-sb-readline/files/digest-cl-sb-readline-0.1
new file mode 100644
index 000000000000..d85708240acb
--- /dev/null
+++ b/dev-lisp/cl-sb-readline/files/digest-cl-sb-readline-0.1
@@ -0,0 +1 @@
+MD5 fe8150e8bdc4ff971247f9b422785275 sb-readline-0.1.tar.gz 2218
diff --git a/dev-lisp/cl-sb-readline/metadata.xml b/dev-lisp/cl-sb-readline/metadata.xml
new file mode 100644
index 000000000000..f418045b09c8
--- /dev/null
+++ b/dev-lisp/cl-sb-readline/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>common-lisp</herd>
+</pkgmetadata>