summaryrefslogtreecommitdiff
blob: 473f7a621aa42dc5fb5c8f039a867ee21c006e12 (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
44
45
46
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-imho/cl-imho-1.3.2.ebuild,v 1.5 2005/04/16 20:26:30 mkennedy Exp $

inherit common-lisp

DESCRIPTION="IMHO is a toolkit that provides facilities for building highly interactive web applications"
HOMEPAGE="http://freesw.onshored.com/wwwdist/imho/
	http://alpha.onshored.com/lisp-software/"
SRC_URI="http://alpha.onshored.com/debian/local/${PN}_${PV}.orig.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="x86 ~ppc ~amd64"
IUSE=""
DEPEND="dev-lisp/common-lisp-controller
	dev-lisp/cl-odcl
	=net-www/apache-1*"

CLPACKAGE=imho

S=${WORKDIR}/${P}.orig

src_compile() {
	cd apache && make CFLAGS="${CFLAGS} -Wall -Wstrict-prototypes -fPIC" || die
}

src_install() {
	exeinto /usr/lib/apache-extramodules
	doexe apache/apache-1.3/mod_webapp.so

	insinto /usr/include/webapplib
	doins apache/webapplib/*.h
	dolib.so apache/webapplib/libwebapp.so

	dodoc apache/doc/*.txt
	dodoc doc/*.txt doc/*.pdf
	dohtml doc/*.html

	insinto /usr/share/common-lisp/source/imho
	doins *.lisp imho.asd imho.system
	dodir /usr/share/common-lisp/systems
	dosym /usr/share/common-lisp/source/imho/imho.asd \
		/usr/share/common-lisp/systems/imho.asd
	dosym /usr/share/common-lisp/source/imho/imho.system \
		/usr/share/common-lisp/systems/imho.system
}