27 lines
665 B
Bash
27 lines
665 B
Bash
# Copyright 1999-2018 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
|
|
GITHUB_AUTHOR="hollow"
|
|
GITHUB_PROJECT="mod_fastcgi_handler"
|
|
GITHUB_COMMIT="c5e075b"
|
|
inherit apache-module
|
|
|
|
DESCRIPTION="A simple FastCGI handler module"
|
|
HOMEPAGE="https://github.com/hollow/mod_fastcgi_handler"
|
|
SRC_URI="https://nodeload.github.com/${GITHUB_AUTHOR}/${GITHUB_PROJECT}/tarball/v${PV} -> ${P}.tar.gz"
|
|
|
|
LICENSE="BSD"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE=""
|
|
|
|
S="${WORKDIR}"/${GITHUB_AUTHOR}-${GITHUB_PROJECT}-${GITHUB_COMMIT}
|
|
|
|
APACHE2_MOD_CONF="20_${PN}"
|
|
APACHE2_MOD_DEFINE="FASTCGI_HANDLER"
|
|
|
|
APXS2_ARGS="-o ${PN}.so -c *.c"
|
|
|
|
need_apache2
|