blob: 3f24c5c5556b8074f094b845a13c63dba4d2512f (
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
|
# Copyright 1999-2005 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.7.ebuild,v 1.1 2005/08/05 16:29:25 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}-dont-print-during-make-gentoo.patch || die
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}
}
|