1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit flag-o-matic toolchain-funcs user
8 DESCRIPTION="Yet another small httpd"
9 HOMEPAGE="http://www.fefe.de/fnord/"
10 SRC_URI="http://www.fefe.de/fnord/${P}.tar.bz2"
14 KEYWORDS="~amd64 hppa ppc sparc x86"
22 DOCS=( TODO README README.auth SPEED CHANGES )
23 PATCHES=( "${FILESDIR}/${PN}"-1.10-gentoo.diff )
27 enewuser fnord -1 -1 /etc/fnord nofiles
28 enewuser fnordlog -1 -1 /etc/fnord nofiles
33 use sparc && replace-sparc64-flags
35 use auth && append-flags -DAUTH
37 emake DIET="" CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
41 dobin fnord-conf fnord