www-misc/slowcgi: stabilize
Signed-off-by: Shin'ya Minazuki <shinyoukai@laidback.moe>
This commit is contained in:
35
www-misc/slowcgi/slowcgi-7.4.ebuild
Normal file
35
www-misc/slowcgi/slowcgi-7.4.ebuild
Normal file
@@ -0,0 +1,35 @@
|
||||
# Copyright 2026 Shin'ya Minazuki
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="FastCGI to CGI wrapper ported from OpenBSD"
|
||||
HOMEPAGE="https://github.com/adaugherity/slowcgi-portable"
|
||||
SRC_URI="https://mirror.chaotic.ninja/software/${P}.tar.gz"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="
|
||||
acct-group/nginx
|
||||
acct-user/nginx
|
||||
dev-libs/libbsd
|
||||
dev-libs/libevent
|
||||
www-servers/nginx
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
RESTRICT="mirror"
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" prefix="${EPREFIX}/usr" mandir="${EPREFIX}/usr/share/man" sbindir="${EPREFIX}/usr/sbin" install
|
||||
newinitd "${FILESDIR}/slowcgi.initd-r1" "${PN}"
|
||||
newconfd "${FILESDIR}/slowcgi.confd-r1" "${PN}"
|
||||
}
|
||||
Reference in New Issue
Block a user