1 |
--- |
2 |
This just copies the files from the main portage tree, and makes minor |
3 |
changes for common-lisp-2. |
4 |
|
5 |
dev-lisp/sb-readline/Manifest | 3 ++ |
6 |
.../files/0.1-load-foreign-library-gentoo.patch | 14 ++++++++ |
7 |
dev-lisp/sb-readline/sb-readline-0.1.ebuild | 33 ++++++++++++++++++++ |
8 |
3 files changed, 50 insertions(+), 0 deletions(-) |
9 |
create mode 100644 dev-lisp/sb-readline/Manifest |
10 |
create mode 100644 dev-lisp/sb-readline/files/0.1-load-foreign-library-gentoo.patch |
11 |
create mode 100644 dev-lisp/sb-readline/sb-readline-0.1.ebuild |
12 |
|
13 |
diff --git a/dev-lisp/sb-readline/Manifest b/dev-lisp/sb-readline/Manifest |
14 |
new file mode 100644 |
15 |
index 0000000..0b70033 |
16 |
--- /dev/null |
17 |
+++ b/dev-lisp/sb-readline/Manifest |
18 |
@@ -0,0 +1,3 @@ |
19 |
+AUX 0.1-load-foreign-library-gentoo.patch 638 RMD160 17f0db7860809108c574647c6c02f07fb133278b SHA1 cca47f069f94c199db1722f8df9f74b00e7bda78 SHA256 3c39f74b4ae1fd9e121d613310c59c4d809141c8a6c4609b6a720b629fdce945 |
20 |
+DIST sb-readline-0.1.tar.gz 2218 RMD160 aa8f55886ef6490c383cfa261ee48b16ae163df9 SHA1 38d241ffd5255fc684f71f6458fce62fd1391cbd SHA256 4eee148057a2f2f7c70a3e9f48c823c91fa95352172b9ad02810591fc59848be |
21 |
+EBUILD sb-readline-0.1.ebuild 824 RMD160 1403ced9d48964863fc7fde2b96fe0b47fde5d23 SHA1 91c94e7ef9e28b05e6f0211b8399232cb8b72d55 SHA256 6b1b9690f81285973f14b186ac37c2ac4e88a620b7fc56d2ba4dd00680cc7d20 |
22 |
diff --git a/dev-lisp/sb-readline/files/0.1-load-foreign-library-gentoo.patch b/dev-lisp/sb-readline/files/0.1-load-foreign-library-gentoo.patch |
23 |
new file mode 100644 |
24 |
index 0000000..66fa09f |
25 |
--- /dev/null |
26 |
+++ b/dev-lisp/sb-readline/files/0.1-load-foreign-library-gentoo.patch |
27 |
@@ -0,0 +1,14 @@ |
28 |
+diff -ur sb-readline-0.1.orig/sb-readline.lisp sb-readline-0.1/sb-readline.lisp |
29 |
+--- sb-readline-0.1.orig/sb-readline.lisp 2003-06-09 10:41:47.000000000 -0500 |
30 |
++++ sb-readline-0.1/sb-readline.lisp 2005-09-20 10:24:58.000000000 -0500 |
31 |
+@@ -8,8 +8,8 @@ |
32 |
+ (in-package :readline) |
33 |
+ |
34 |
+ (eval-when (:compile-toplevel :load-toplevel :execute) |
35 |
+- (load-1-foreign "/lib/libncurses.so") |
36 |
+- (load-1-foreign "/lib/libreadline.so")) |
37 |
++ (load-shared-object "/lib/libncurses.so") |
38 |
++ (load-shared-object "/lib/libreadline.so")) |
39 |
+ |
40 |
+ (define-alien-routine "add_history" void (command c-string)) |
41 |
+ (define-alien-routine "readline" c-string (prompt c-string)) |
42 |
diff --git a/dev-lisp/sb-readline/sb-readline-0.1.ebuild b/dev-lisp/sb-readline/sb-readline-0.1.ebuild |
43 |
new file mode 100644 |
44 |
index 0000000..9349bf8 |
45 |
--- /dev/null |
46 |
+++ b/dev-lisp/sb-readline/sb-readline-0.1.ebuild |
47 |
@@ -0,0 +1,33 @@ |
48 |
+# Copyright 1999-2005 Gentoo Foundation |
49 |
+# Distributed under the terms of the GNU General Public License v2 |
50 |
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-sb-readline/cl-sb-readline-0.1.ebuild,v 1.2 2005/09/20 15:39:35 mkennedy Exp $ |
51 |
+ |
52 |
+inherit common-lisp-2 |
53 |
+ |
54 |
+DESCRIPTION="Implementation of GNU Readline support for SBCL" |
55 |
+HOMEPAGE="http://www.cliki.net/sb-readline" |
56 |
+SRC_URI="http://www.caddr.com/lisp/sb-readline/sb-readline-${PV}.tar.gz" |
57 |
+ |
58 |
+LICENSE="BSD" |
59 |
+SLOT="0" |
60 |
+KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
61 |
+IUSE="" |
62 |
+ |
63 |
+DEPEND=">=dev-lisp/sbcl-0.9.3 |
64 |
+ sys-libs/readline" |
65 |
+ |
66 |
+CLPACKAGE=sb-readline |
67 |
+ |
68 |
+S=${WORKDIR}/sb-readline-${PV} |
69 |
+ |
70 |
+src_unpack() { |
71 |
+ unpack ${A} |
72 |
+ epatch ${FILESDIR}/${PV}-load-foreign-library-gentoo.patch |
73 |
+} |
74 |
+ |
75 |
+src_install() { |
76 |
+ common-lisp-install sb-readline.{lisp,asd} |
77 |
+ common-lisp-symlink-asdf |
78 |
+ dodoc COPYING |
79 |
+ dohtml README.html |
80 |
+} |
81 |
-- |
82 |
1.6.0.1 |