summaryrefslogtreecommitdiff
blob: 5f21ad9316895af38139689b2a32fc4208178ce6 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-ch-util/cl-ch-util-0.1.8.20060104.ebuild,v 1.1 2006/01/04 21:59:28 mkennedy Exp $

inherit common-lisp eutils

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

CLPACKAGE='ch-util ch-util-test'

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

src_install() {
	dodir $CLSYSTEMROOT
	insinto $CLSOURCEROOT/ch-util
	doins *.{cl,asd}
	insinto $CLSOURCEROOT/ch-util/src/
	doins src/*.cl
	insinto $CLSOURCEROOT/ch-util/test/
	doins test/*.cl
	dosym ${CLSOURCEROOT}/ch-util/ch-util.asd ${CLSYSTEMROOT}/ch-util.asd
	dosym ${CLSOURCEROOT}/ch-util/ch-util-test.asd ${CLSYSTEMROOT}/ch-util-test.asd
	dodoc COPYRIGHT README
}