blob: cbf34cd2b85dd29df0908ce86e27c750bc33d537 (
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
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-servers/fnord/fnord-1.8.ebuild,v 1.11 2005/08/28 06:17:15 vapier Exp $
inherit flag-o-matic eutils fixheadtails
DESCRIPTION="Yet another small httpd."
HOMEPAGE="http://www.fefe.de/fnord/"
SRC_URI="http://www.fefe.de/fnord/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="ppc sparc x86"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}
sys-process/daemontools
sys-apps/ucspi-tcp"
pkg_setup() {
enewuser fnord -1 -1 /etc/fnord nofiles
enewuser fnordlog -1 -1 /etc/fnord nofiles
}
src_unpack() {
unpack ${A} && cd ${S}
epatch ${FILESDIR}/${P}-gentoo.diff
ht_fix_all
}
src_compile() {
# Fix for bug #45716
replace-sparc64-flags
emake DIET="" CFLAGS="${CFLAGS}" || die "emake failed"
}
src_install () {
dobin fnord-conf fnord || die
dodoc TODO README SPEED COPYING CHANGES
}
|