/[gentoo-x86]/www-servers/boa/boa-0.94.14_rc21.ebuild
Gentoo

Contents of /www-servers/boa/boa-0.94.14_rc21.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Tue Aug 2 06:23:01 2011 UTC (3 years, 1 month ago) by mattst88
Branch: MAIN
Changes since 1.5: +4 -4 lines
Fix DEPEND/RDEPEND (noticed the bison was in RDEPEND).

(Portage version: 2.1.10.3/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/www-servers/boa/boa-0.94.14_rc21.ebuild,v 1.5 2008/05/12 07:31:03 opfer Exp $
4
5 inherit eutils
6
7 MY_PV=${PV/_/}
8 DESCRIPTION="A very small and very fast http daemon."
9 SRC_URI="http://www.boa.org/${PN}-${MY_PV}.tar.gz"
10 HOMEPAGE="http://www.boa.org/"
11
12 KEYWORDS="~x86 ~sparc ~mips ~ppc ~amd64"
13 LICENSE="GPL-2"
14 SLOT="0"
15 IUSE="doc"
16 S=${WORKDIR}/${PN}-${MY_PV}
17
18 RDEPEND=""
19 DEPEND="sys-devel/bison
20 sys-devel/flex
21 doc? ( virtual/latex-base )"
22
23 src_unpack() {
24 unpack ${A}
25 cd "${S}"
26
27 epatch "${FILESDIR}"/${P}-texi.patch
28 epatch "${FILESDIR}"/${P}-ENOSYS.patch
29 }
30
31 src_compile() {
32 econf || die
33 emake || die
34 use doc || sed -i -e '/^all:/s/boa.dvi //' docs/Makefile
35 emake docs || die
36 }
37
38 src_install() {
39 dosbin src/boa
40 doman docs/boa.8
41 doinfo docs/boa.info
42 if use doc; then
43 dodoc docs/boa.html
44 dodoc docs/boa_banner.png
45 dodoc docs/boa.dvi
46 fi
47
48 keepdir /var/log/boa
49 dodir /var/www/localhost/htdocs
50 dodir /var/www/localhost/cgi-bin
51 dodir /var/www/localhost/icons
52
53 newconfd "${FILESDIR}"/boa.conf.d boa
54
55 exeinto /usr/lib/boa
56 doexe src/boa_indexer
57
58 newinitd "${FILESDIR}"/boa.rc6 boa
59
60 dodir /etc/boa
61 insinto /etc/boa
62 doins "${FILESDIR}"/boa.conf
63 doins "${FILESDIR}"/mime.types
64 }

  ViewVC Help
Powered by ViewVC 1.1.20