blob: d9f788773232a270485f2826749ff316c754bcd4 (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-cffi/cl-cffi-0.9.1.ebuild,v 1.1 2006/05/11 06:27:22 mkennedy Exp $
inherit common-lisp
DESCRIPTION="The Common Foreign Function Interface (CFFI)"
HOMEPAGE="http://common-lisp.net/project/cffi/"
SRC_URI="http://common-lisp.net/project/cffi/releases/cffi_${PV}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="doc"
S=${WORKDIR}/cffi_${PV}
DEPEND="doc? ( dev-lisp/sbcl virtual/tetex sys-apps/texinfo )"
CLPACKAGE=cffi
src_compile() {
use doc && make -C doc docs
}
src_install() {
dodir $CLSYSTEMROOT
insinto $CLSOURCEROOT/$CLPACKAGE
for i in cffi cffi-tests cffi-examples cffi-uffi-compat; do
dosym $CLSOURCEROOT/$CLPACKAGE/$i.asd \
$CLSYSTEMROOT/
done
doins -r tests src uffi-compat examples *.asd
dodoc README COPYRIGHT HEADER TODO
dodoc doc/*.txt
if use doc; then
doinfo doc/*.info
insinto /usr/share/doc/${PF}/html
doins -r doc/{spec,manual}
fi
}
|