37 lines
702 B
Bash
37 lines
702 B
Bash
# Copyright 2026 Shin'ya Minazuki
|
|
EAPI=8
|
|
|
|
inherit git-r3
|
|
|
|
DESCRIPTION="FastCGI to CGI wrapper ported from OpenBSD"
|
|
HOMEPAGE="https://github.com/adaugherity/slowcgi-portable"
|
|
EGIT_REPO_URI="https://github.com/adaugherity/slowcgi-portable"
|
|
|
|
LICENSE="ISC"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
DEPEND="
|
|
dev-libs/libevent
|
|
dev-libs/libbsd
|
|
"
|
|
RDEPEND="
|
|
acct-group/nginx
|
|
acct-user/nginx
|
|
${DEPEND}
|
|
www-servers/nginx
|
|
"
|
|
BDEPEND="
|
|
virtual/pkgconfig
|
|
"
|
|
|
|
src_compile() {
|
|
emake
|
|
}
|
|
|
|
src_install() {
|
|
emake DESTDIR="${D}" prefix="${EPREFIX}/usr" sbindir="${EPREFIX}/usr/sbin" mandir="${EPREFIX}/usr/share/man" install
|
|
newinitd "${FILESDIR}/slowcgi.initd-r1" "${PN}"
|
|
newconfd "${FILESDIR}/slowcgi.confd-r1" "${PN}"
|
|
}
|