summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-06-24 01:42:07 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-06-24 01:42:07 +0000
commit3ecfd409dc597bb8e9b5492f4e3085b00cc35cc5 (patch)
tree587c25dad02afcbe2f9f0a859f02bc9ce7c01523 /dev-libs/librep/librep-0.16.ebuild
parentget all profiles to use the latest automake; gnome2 masks (diff)
downloadgentoo-2-3ecfd409dc597bb8e9b5492f4e3085b00cc35cc5.tar.gz
gentoo-2-3ecfd409dc597bb8e9b5492f4e3085b00cc35cc5.tar.bz2
gentoo-2-3ecfd409dc597bb8e9b5492f4e3085b00cc35cc5.zip
version update
Diffstat (limited to 'dev-libs/librep/librep-0.16.ebuild')
-rw-r--r--dev-libs/librep/librep-0.16.ebuild57
1 files changed, 57 insertions, 0 deletions
diff --git a/dev-libs/librep/librep-0.16.ebuild b/dev-libs/librep/librep-0.16.ebuild
new file mode 100644
index 000000000000..85ddbb16df8e
--- /dev/null
+++ b/dev-libs/librep/librep-0.16.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# # $Header: /var/cvsroot/gentoo-x86/dev-libs/librep/librep-0.16.ebuild,v 1.1 2002/06/24 01:42:07 azarah Exp $
+
+inherit libtool
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Shared library implementing a Lisp dialect"
+SRC_URI="ftp://ftp.gnome.org/pub/GNOME/pre-gnome2/sources/${PN}/${P}.tar.bz2"
+HOMEPAGE="http://librep.sourceforge.net/"
+
+DEPEND="virtual/glibc
+ >=sys-libs/gdbm-1.8.0
+ >=dev-libs/gmp-3.1.1
+ readline? ( >=sys-libs/readline-4.1
+ >=sys-libs/ncurses-5.2 )
+ sys-apps/texinfo
+ >=sys-devel/automake-1.6.1-r5"
+
+src_compile() {
+# DO NOT LIBTOOLIZE!!!!
+# elibtoolize
+
+ local myconf=""
+ use readline && myconf="--with-readline"
+ use readline || myconf="--without-readline"
+
+ LC_ALL=""
+ LINGUAS=""
+ LANG=""
+ export LC_ALL LINGUAS LANG
+
+ ./configure --host=${CHOST} \
+ --prefix=/usr \
+ --libexecdir=/usr/lib \
+ --infodir=/usr/share/info \
+ --with-extra-cflags=-fstrength-reduce \
+ ${myconf} || die "configure failure"
+
+ emake host_type=${CHOST} || die "compile failure"
+}
+
+src_install() {
+ make install \
+ host_type=${CHOST} \
+ DESTDIR=${D} \
+ aclocaldir=/usr/share/aclocal \
+ infodir=/usr/share/info || die
+
+ insinto /usr/include
+ doins src/rep_config.h
+
+ dodoc AUTHORS BUGS COPYING ChangeLog NEWS README THANKS TODO DOC TREE
+ docinto doc
+ dodoc doc/*
+}
+