summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2001-12-17 17:09:32 +0000
committerMartin Schlemmer <azarah@gentoo.org>2001-12-17 17:09:32 +0000
commitc26dae6b4cd8aea4b4db78dfc1c1cbf008071546 (patch)
treeda391d2a2c9beed04412854fe52c9a283af06abc /sys-libs/readline
parentfix write outside tmp (diff)
downloadgentoo-2-c26dae6b4cd8aea4b4db78dfc1c1cbf008071546.tar.gz
gentoo-2-c26dae6b4cd8aea4b4db78dfc1c1cbf008071546.tar.bz2
gentoo-2-c26dae6b4cd8aea4b4db78dfc1c1cbf008071546.zip
new version
Diffstat (limited to 'sys-libs/readline')
-rw-r--r--sys-libs/readline/files/digest-readline-4.2a1
-rw-r--r--sys-libs/readline/readline-4.2a.ebuild57
2 files changed, 58 insertions, 0 deletions
diff --git a/sys-libs/readline/files/digest-readline-4.2a b/sys-libs/readline/files/digest-readline-4.2a
new file mode 100644
index 000000000000..a97d6eddee61
--- /dev/null
+++ b/sys-libs/readline/files/digest-readline-4.2a
@@ -0,0 +1 @@
+MD5 7c5b1d2909821d5c1a7fe8904f1bb714 readline-4.2a.tar.gz 925696
diff --git a/sys-libs/readline/readline-4.2a.ebuild b/sys-libs/readline/readline-4.2a.ebuild
new file mode 100644
index 000000000000..ead3330e9808
--- /dev/null
+++ b/sys-libs/readline/readline-4.2a.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Daniel Robbins <drobbins@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/readline/readline-4.2a.ebuild,v 1.1 2001/12/17 17:09:32 azarah Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Another cute console display library"
+SRC_URI="ftp://ftp.gnu.org/gnu/readline/${P}.tar.gz
+ ftp://gatekeeper.dec.com/pub/GNU/readline/${P}.tar.gz"
+
+DEPEND="virtual/glibc
+ >=sys-libs/ncurses-5.2-r2"
+
+RDEPEND="virtual/glibc"
+
+src_compile() {
+
+ ./configure --host=${CHOST} --with-curses \
+ --prefix=/usr --mandir=/usr/share/man \
+ --infodir=/usr/share/info || die
+ emake ${MAKEOPTS} || die
+ cd shlib
+ emake ${MAKEOPTS} || die
+
+}
+
+
+src_install() {
+
+ make prefix=${D}/usr mandir=${D}/usr/share/man \
+ infodir=${D}/usr/share/info install || die
+ cd shlib
+ make prefix=${D}/usr mandir=${D}/usr/share/man \
+ infodir=${D}/usr/share/info install || die
+
+ cd ..
+
+ dodir /lib
+ mv ${D}/usr/lib/*.so* ${D}/lib
+ dosym libhistory.so.${PV/a/} /lib/libhistory.so
+ dosym libreadline.so.${PV/a/} /lib/libreadline.so
+ # Needed because make install uses ${D} for the link
+ dosym libhistory.so.${PV/a/} /lib/libhistory.so.4
+ dosym libreadline.so.${PV/a/} /lib/libreadline.so.4
+ chmod 755 ${D}/lib/*.${PV/a/}
+
+ dodoc CHANGELOG CHANGES COPYING MANIFEST README USAGE
+ docinto ps
+ dodoc doc/*.ps
+ docinto html
+ dodoc doc/*.html
+
+}
+
+
+
+