blob: 71db0d0e7f3710e779d3eef73cdff13424e93a2b (
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
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Perlbal/Perlbal-1.73.ebuild,v 1.1 2009/11/04 02:20:27 robbat2 Exp $
MODULE_AUTHOR="DORMANDO"
inherit perl-module
DESCRIPTION="Reverse-proxy load balancer and webserver"
HOMEPAGE="http://www.danga.com/perlbal/"
IUSE=""
SLOT="0"
LICENSE="|| ( Artistic GPL-2 )"
KEYWORDS="~amd64 ~ppc ~x86"
DEPEND="dev-perl/libwww-perl
>=dev-perl/Danga-Socket-1.57
dev-perl/Sys-Syscall
dev-perl/BSD-Resource
dev-perl/IO-AIO
dev-lang/perl"
#SRC_TEST="do" # testing not available on Perlbal yet ;-)
mydoc="CHANGES"
PATCHES=( "${FILESDIR}/${PN}-1.58-Use-saner-name-in-process-listing.patch" )
src_install() {
perl-module_src_install || die "perl-module_src_install failed"
cd "${S}"
dodoc doc/*.txt
docinto hacking
dodoc doc/hacking/*.txt
docinto conf
dodoc conf/*.{dat,conf}
keepdir /etc/perlbal
newinitd "${FILESDIR}"/perlbal_init.d_1.58 perlbal
newconfd "${FILESDIR}"/perlbal_conf.d_1.58 perlbal
}
pkg_postinst() {
perl-module_pkg_postinst
einfo "Please see the example configuration files located"
einfo "within /usr/share/doc/${PF}/conf/"
}
|