blob: b08e7e09328ae7a09e94098e074ae5a3f61cd367 (
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-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-elephant/cl-elephant-0.2.1.ebuild,v 1.4 2005/05/24 18:48:33 mkennedy Exp $
inherit common-lisp eutils
DESCRIPTION="Elephant is an object database for Common Lisp"
HOMEPAGE="http://common-lisp.net/project/elephant/"
SRC_URI="http://common-lisp.net/project/elephant/elephant-${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~sparc ~x86"
IUSE="doc"
DEPEND="dev-lisp/common-lisp-controller
virtual/commonlisp
=sys-libs/db-4.2*
dev-lisp/cl-uffi
doc? ( sys-apps/texinfo )"
CLPACKAGE=elephant
S=${WORKDIR}/elephant-${PV}
src_unpack() {
unpack ${A}
epatch ${FILESDIR}/${PV}-gentoo.patch || die
}
src_compile() {
make CFLAGS="${CFLAGS}" || die
if use doc; then
cd doc; makeinfo elephant.texinfo || die
fi
}
src_install() {
insinto ${CLSOURCEROOT}/elephant/src
doins src/*.lisp
exeinto /usr/lib/elephant
doexe libsleepycat.so
common-lisp-install elephant.asd
common-lisp-system-symlink
dodoc CREDITS ChangeLog LICENSE NEWS NOTES README TODO TUTORIAL
dohtml doc/html/*
use doc && doinfo doc/elephant.info
}
|