summaryrefslogtreecommitdiff
blob: f387bcc2b21eb58d058f601da527adffb3efb893 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-clem/cl-clem-0.1.4.20051012.ebuild,v 1.2 2006/01/02 17:08:00 mkennedy Exp $

inherit common-lisp eutils

DESCRIPTION="Cyrus Harmon's Common Lisp matrix mathematics library."
HOMEPAGE="http://www.cyrusharmon.org/cl/blog/"
SRC_URI="http://cyrusharmon.org/cl/static/releases/clem-${PV/.2005/-2005}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE=""
DEPEND="dev-lisp/cl-ch-util"
S=${WORKDIR}/clem

CLPACKAGE='clem clem-test'

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

src_install() {
	dodir $CLSYSTEMROOT
	insinto $CLSOURCEROOT/clem
	doins *.asd
	insinto $CLSOURCEROOT/clem/src/
	doins src/*.cl
	insinto $CLSOURCEROOT/clem/src/typed-ops
	doins src/typed-ops/*.cl
	insinto $CLSOURCEROOT/clem/test/
	doins test/*.cl
	dosym ${CLSOURCEROOT}/clem/clem.asd ${CLSYSTEMROOT}/clem.asd
	dosym ${CLSOURCEROOT}/clem/clem-test.asd ${CLSYSTEMROOT}/clem-test.asd
}