summaryrefslogtreecommitdiff
blob: 56079acd23f7f34051fd2eab38a7e80b019ab4b3 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-gcc-xml-ffi/cl-gcc-xml-ffi-0.1.3.20051115.ebuild,v 1.2 2006/01/02 17:09:59 mkennedy Exp $

inherit common-lisp eutils

MY_PN=${PN/cl-/}

DESCRIPTION="Cyrus Harmon's Common Lisp GCC-XML FFI library."
HOMEPAGE="http://www.cyrusharmon.org/cl/blog/"
SRC_URI="http://cyrusharmon.org/cl/static/releases/${MY_PN}-${PV/.2005/-2005}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE=""
DEPEND="dev-lisp/cl-ch-util
	dev-lisp/cl-uffi
	dev-lisp/cl-xmls
	dev-cpp/gccxml"

S=${WORKDIR}/${MY_PN}

CLPACKAGE='gcc-xml-ffi gcc-xml-ffi-test'

src_unpack() {
	unpack ${A}
	epatch ${FILESDIR}/${PV}-fasl-output-gentoo.patch || die
	rm ${S}/Makefile
}

src_install() {
	dodir $CLSYSTEMROOT
	insinto $CLSOURCEROOT/gcc-xml-ffi
	doins *.asd
	insinto $CLSOURCEROOT/gcc-xml-ffi/src/
	doins src/*.cl
	insinto $CLSOURCEROOT/gcc-xml-ffi/test/
	doins test/*.cl
	dosym ${CLSOURCEROOT}/gcc-xml-ffi/gcc-xml-ffi.asd ${CLSYSTEMROOT}/gcc-xml-ffi.asd
	dosym ${CLSOURCEROOT}/gcc-xml-ffi/gcc-xml-ffi-test.asd ${CLSYSTEMROOT}/gcc-xml-ffi-test.asd
	dodoc ChangeLog README
}