summaryrefslogtreecommitdiff
blob: cb8690fbe3e8c3a75086425958324443863d9aa1 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-servers/webfs/webfs-1.20.ebuild,v 1.6 2006/12/10 09:55:56 beu Exp $

DESCRIPTION="Lightweight HTTP server for static content"
SRC_URI="http://dl.bytesex.org/releases/${PN}/${PN}_${PV}.tar.gz"
HOMEPAGE="http://bytesex.org/webfs.html"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 sparc alpha ppc ~amd64"
IUSE="ssl"

DEPEND="ssl? ( dev-libs/openssl )"

RDEPEND="${DEPEND}
	app-misc/mime-types"

src_compile() {
	local myconf
	use ssl || myconf="${myconf} USE_SSL=no"
	emake prefix=/usr ${myconf} || die "emake failed"
}

src_install() {
	einstall mandir=${D}/usr/share/man || die "make install failed"
	dodoc README COPYING
}