aboutsummaryrefslogblamecommitdiffstats
path: root/www-misc/slowcgi/slowcgi-6.9.ebuild
blob: 8ed5723cd5d2e7fe7a6cfc015e4420addb8ca038 (plain) (tree)





























                                                                   
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="a FastCGI to CGI wrapper server"
HOMEPAGE="https://git.oriole.systems/slowcgi"
SRC_URI="https://git.oriole.systems/slowcgi/snapshot/${P}.tar.gz"

RESTRICT="mirror"

LICENSE="ISC"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""

DEPEND="
	acct-user/slowcgi
	acct-group/http"

PATCHES=(
	"${FILESDIR}/${PV}-Add-flag-to-run-in-the-foreground.patch"
)

src_install() {
	emake PREFIX=/usr DESTDIR="${D}" install

	newinitd "${FILESDIR}"/slowcgi.initd slowcgi
	newconfd "${FILESDIR}"/slowcgi.confd slowcgi
}