--- /dev/null
+# 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>.
+
--- /dev/null
+-----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-----
--- /dev/null
+# 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
+}
--- /dev/null
+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))
--- /dev/null
+MD5 fe8150e8bdc4ff971247f9b422785275 sb-readline-0.1.tar.gz 2218
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>common-lisp</herd>
+</pkgmetadata>