blob: cb9cb271913d8b6f7d72b713ac332d6d73efa9eb (
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
47
48
49
50
51
52
53
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/librep/librep-0.17_p20070101.ebuild,v 1.4 2008/01/14 20:04:29 dertobi123 Exp $
MY_P=${P%_*}
WANT_AUTOCONF="latest"
WANT_AUTOMAKE="latest"
inherit autotools eutils toolchain-funcs multilib
DESCRIPTION="Shared library implementing a Lisp dialect"
HOMEPAGE="http://librep.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz
mirror://gentoo/${P}.patch.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha ~amd64 ia64 ppc ~ppc64 sparc x86"
IUSE="readline"
RDEPEND=">=sys-libs/gdbm-1.8.0
readline? ( sys-libs/readline )"
DEPEND="${RDEPEND}
sys-apps/texinfo"
S=${WORKDIR}/${MY_P}
src_unpack() {
unpack ${MY_P}.tar.gz
cd "${S}"
epatch "${DISTDIR}"/${P}.patch.bz2
epatch "${FILESDIR}"/${P}-libtool.patch
epatch "${FILESDIR}"/rep_file_fdopen.patch
eautoreconf || die "eautoreconf failed"
}
src_compile() {
econf \
--libexecdir=/usr/$(get_libdir) \
--without-gmp \
--without-ffi \
$(use_with readline) || die "configure failed"
LC_ALL=C emake || die "make failed"
}
src_install() {
emake DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS BUGS ChangeLog NEWS README THANKS TODO TREE
docinto doc
dodoc doc/*
}
|