blob: 0c9d6cc3593d27060a599e28d9715e27f199b47d (
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
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-irc/cgiirc/cgiirc-0.5.3.ebuild,v 1.5 2004/06/24 23:02:12 agriffis Exp $
inherit webapp-apache
DESCRIPTION="A pearl/CGI program to use IRC from a web browser"
HOMEPAGE="http://cgiirc.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
RESTRICT="nomirror"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc"
IUSE=""
pkg_setup() {
webapp-detect || NO_SERVER=1
webapp-pkg_setup "${NO_WEBSERVER}"
einfo "Installing for ${WEBAPP_SERVER}"
}
src_install() {
echo "Options ExecCGI" > .htaccess
dodir "${HTTPD_ROOT}/${PN}"
cp -r * "${D}/${HTTPD_CGIBIN}/${PN}"
dodoc README Changelog docs/CHANGES docs/COPYING docs/TODO
}
pkg_postinst() {
einfo "To configure cgiirc edit"
einfo " ${HTTPD_ROOT}/${PN}/cgiirc.config"
}
|