summaryrefslogtreecommitdiff
blob: ddf6d70f7b213091a099f6007821dd84ccbebe54 (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit common-lisp-2 eutils

MY_P=${PN}_${PV}

DESCRIPTION="A system for automatically generating common lisp foreign function interface (FFI) bindings from C and C++ code."
HOMEPAGE="http://www.cyrusharmon.org/projects?project=gcc-xml-ffi"
SRC_URI="http://cyrusharmon.org/static/releases/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"

DEPEND="!dev-lisp/cl-${PN}
		dev-lisp/ch-util
		dev-lisp/uffi
		dev-lisp/xmls
		dev-cpp/gccxml"

CLSYSTEMS="gcc-xml-ffi gcc-xml-ffi-test"

S=${WORKDIR}/${MY_P}

src_unpack() {
	unpack ${A}
	rm "${S}"/Makefile
	epatch "${FILESDIR}"/${PV}-fix-asd.patch
}

src_install() {
	common-lisp-install *.asd src test version.lisp-expr
	common-lisp-symlink-asdf
	dodoc ChangeLog README
}