blob: b9233f181803d025697b9d1dd4b1ebc663737df6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# 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-20020611.ebuild,v 1.1 2002/06/12 01:29:57 stroke Exp $
# Do _NOT_ strip symbols in the build! Need both lines for Portage 1.8.9+
DEBUG="yes"
RESTRICT="nostrip"
# force debug information
CFLAGS="${CFLAGS} -g"
CXXFLAGS="${CXXFLAGS} -g"
MY_P=${PN}-2002-06-11
S=${WORKDIR}/${MY_P}
DESCRIPTION="Shared library implementing a Lisp dialect"
SRC_URI="ftp://ftp.gnome.org/pub/GNOME/pre-gnome2/sources/${PN}/${MY_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"
src_compile() {
ocal myconf
use readline && myconf="--with-readline" || myconf="--without-readline"
./configure --host=${CHOST} \
${myconf} \
--prefix=/usr \
--libexecdir=/usr/lib \
--infodir=/usr/share/info || die "configure failure"
emake || die "compile failure"
}
src_install() {
make DESTDIR=${D} install || die
insinto /usr/include
doins src/rep_config.h
dodoc AUTHORS BUGS COPYING ChangeLog NEWS README THANKS TODO DOC
docinto doc
dodoc doc/*
}
|