summaryrefslogtreecommitdiff
path: root/www-apps/cgisysinfo/cgisysinfo-0.4.1.ebuild
blob: 0dc2dac982cdbe3f5aba90cf9f242ac709e2c692 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="5"

inherit autotools

if [[ ${PV} = *9999* ]]; then
	WANT_AUTOMAKE="1.10"
	inherit git-r3
	EGIT_REPO_URI="https://github.com/rafaelmartins/${PN}"
	KEYWORDS=""
	DOCS=( "README.md" "AUTHORS" "NEWS" )
else
	SRC_URI="https://github.com/rafaelmartins/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
	KEYWORDS="~amd64 ~x86"
	DOCS=( "README" "AUTHORS" "NEWS" )
fi

DESCRIPTION="A small cgi utility to show basic system information"
HOMEPAGE="https://github.com/rafaelmartins/cgisysinfo"

LICENSE="GPL-2"
SLOT="0"
IUSE="fastcgi"

DEPEND="fastcgi? ( dev-libs/fcgi )"
RDEPEND="${DEPEND}"

src_prepare() {
	eautoreconf
}

src_configure() {
	econf $(use_enable fastcgi)
}