summaryrefslogtreecommitdiff
blob: 0dc12c446037b6a54340555dacfb7643c9503724 (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
43
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-araneida/cl-araneida-0.90.1.ebuild,v 1.3 2007/07/29 16:46:51 phreak Exp $

inherit common-lisp eutils

DESCRIPTION="Araneida is small, highly-portable web server for Common Lisp"
HOMEPAGE="http://www.cliki.net/Araneida"
SRC_URI="http://common-lisp.net/project/araneida/release/araneida-version-${PV}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="standalone"
DEPEND="dev-lisp/cl-split-sequence
	dev-lisp/cl-net-telent-date"
#	parenscript? ( dev-lisp/cl-parenscript )"
RDEPEND="${DEPEND}
	!standalone? ( || ( www-servers/apache www-servers/pound ) )"

CLPACKAGE=araneida

S=${WORKDIR}/araneida-version-${PV}

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

src_install() {
	insinto $CLSOURCEROOT/araneida
	doins *.asd *.lisp NEWS
	for i in utility obsolete araneida-repl compat; do
		insinto $CLSOURCEROOT/araneida/$i
		doins $i/*
	done
	insinto $CLSOURCEROOT/araneida/doc
	doins doc/*.html doc/*.css doc/*.lisp doc/PLAN
	common-lisp-system-symlink
	dodoc doc/*.txt LICENCE* RELEASE_NOTES NEWS Notes README TODO
	dosym $CLSOURCEROOT/araneida/doc/ \
		/usr/share/doc/${PF}/html
	dodoc ${FILESDIR}/README.Gentoo
}