blob: d684eb7155e1c196d7ab049687aca4accb0f625b (
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-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-cffi/cl-cffi-050925.2059.ebuild,v 1.1 2005/09/27 06:32:16 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/tarballs/cffi-luis-${PV:0:6}-${PV:7:4}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="doc"
S=${WORKDIR}/cffi-luis-${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-uffi-compat; do
dosym $CLSOURCEROOT/$CLPACKAGE/$i.asd \
$CLSYSTEMROOT/
done
doins -r tests src uffi-compat examples *.asd
dodoc README COPYRIGHT HEADER
dodoc doc/*.txt
if use doc; then
doinfo doc/*.info
insinto /usr/share/doc/${PF}/html
doins -r doc/{spec,manual}
fi
}
|