summaryrefslogtreecommitdiff
blob: 2147ca51aaf28763845ee1fdb7804bcf5b0cebab (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-cgi-utils/cl-cgi-utils-0.9.ebuild,v 1.1 2006/02/07 16:08:32 mkennedy Exp $

inherit common-lisp eutils

DESCRIPTION="lisp-cgi-utils is a Common Lisp library for developing CGI applications."
HOMEPAGE="http://www.thangorodrim.de/software/lisp-cgi-utils/index.html"
SRC_URI="http://www.thangorodrim.de/software/lisp-cgi-utils/lisp-cgi-utils-${PV}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="doc"

CLPACKAGE=lisp-cgi-utils

DEPEND="doc? ( virtual/tetex dev-tex/hevea )"

S=${WORKDIR}/lisp-cgi-utils-${PV}

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

src_compile() {
	if use doc; then
		make -C doc || die
	fi
}

src_install() {
	common-lisp-install *.{lisp,asd}
	common-lisp-system-symlink
	dodoc LGPL-2.1
	insinto /usr/share/doc/${PF}/examples
	doins examples/*
	use doc && dodoc doc/{examples,cookies}.{dvi,ps,pdf,html,txt}
}