summaryrefslogtreecommitdiff
blob: d21a582768785857d0fa77bb9ed3330133d7f96a (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
37
38
39
40
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit cmake

if [[ ${PV} == *9999 ]]
then
	EGIT_REPO_URI="https://github.com/fwbuilder/fwbuilder"
	inherit git-r3
else
	inherit vcs-snapshot
	commit=a5e14a966447c63bcf7b52a0202149e76bd5ed4a
	SRC_URI="https://github.com/fwbuilder/fwbuilder/archive/${commit}.tar.gz -> ${P}.tar.gz"
	KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
fi
PATCHES=( "${FILESDIR}/${P}-fix_version.patch" )

DESCRIPTION="A firewall management GUI for iptables, PF, Cisco routers and more"
HOMEPAGE="https://github.com/fwbuilder/fwbuilder"

LICENSE="GPL-2+"
SLOT="0"

RDEPEND="
	dev-libs/libxml2
	dev-libs/libxslt
	dev-libs/openssl
	dev-qt/qtnetwork:5
	dev-qt/qtprintsupport:5
	dev-qt/qtwidgets:5
	net-analyzer/net-snmp
"
DEPEND="${RDEPEND}"

src_install() {
	cmake_src_install
	docompress -x /usr/share/man
}