Initial port. Ebuild contributed by Matthew Kennedy <mkennedy@gentoo.org>.
authorMatthew Kennedy <mkennedy@gentoo.org>
Tue, 20 Sep 2005 15:35:27 +0000 (15:35 +0000)
committerMatthew Kennedy <mkennedy@gentoo.org>
Tue, 20 Sep 2005 15:35:27 +0000 (15:35 +0000)
Package-Manager: portage-2.0.52-r1

dev-lisp/cl-sb-readline/ChangeLog [new file with mode: 0644]
dev-lisp/cl-sb-readline/Manifest [new file with mode: 0644]
dev-lisp/cl-sb-readline/cl-sb-readline-0.1.ebuild [new file with mode: 0644]
dev-lisp/cl-sb-readline/files/0.1-load-foreign-library-gentoo.patch [new file with mode: 0644]
dev-lisp/cl-sb-readline/files/digest-cl-sb-readline-0.1 [new file with mode: 0644]
dev-lisp/cl-sb-readline/metadata.xml [new file with mode: 0644]

diff --git a/dev-lisp/cl-sb-readline/ChangeLog b/dev-lisp/cl-sb-readline/ChangeLog
new file mode 100644 (file)
index 0000000..2977990
--- /dev/null
@@ -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 (file)
index 0000000..5e21923
--- /dev/null
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 b94c8399f90f244d207ea9887db27e16 cl-sb-readline-0.1.ebuild 812
+MD5 9b65b0341efc8f4b29498aad23315229 metadata.xml 164
+MD5 0fdf03fc5d0b273ca6af674f5dadd38b ChangeLog 481
+MD5 9615ca5075924c6112c57fb70d1ca5bd files/0.1-load-foreign-library-gentoo.patch 638
+MD5 85bd51806886ebc71dcfe5cf442ac7ad files/digest-cl-sb-readline-0.1 65
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.2 (GNU/Linux)
+
+iD8DBQFDMCx6yiNZaEAZA+ARAqTfAJ9xEGn6e2krbeh8uwwvEPh3I/yOwgCfYiUC
+EvqGUCuJxGeGQvUOfSuMKmA=
+=cqLd
+-----END PGP SIGNATURE-----
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 (file)
index 0000000..5b59b87
--- /dev/null
@@ -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 (file)
index 0000000..66fa09f
--- /dev/null
@@ -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 (file)
index 0000000..d857082
--- /dev/null
@@ -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 (file)
index 0000000..f418045
--- /dev/null
@@ -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>