30 lines
548 B
Bash
30 lines
548 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="${DEPEND}"
|
|
BDEPEND="
|
|
virtual/pkg-config
|
|
"
|
|
|
|
src_compile() {
|
|
emake
|
|
}
|
|
|
|
src_install() {
|
|
emake DESTDIR="${D}" prefix="${EPREFIX}/usr" sbindir="${EPREFIX}/usr/sbin" mandir="${EPREFIX}/usr/share/man" install
|
|
}
|