You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1014 B
49 lines
1014 B
3 years ago
|
# Copyright 1999-2021 Gentoo Authors
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=7
|
||
|
|
||
3 years ago
|
inherit cmake
|
||
3 years ago
|
|
||
|
DESCRIPTION="A firewall management GUI for iptables, PF, Cisco routers and more"
|
||
|
HOMEPAGE="https://github.com/fwbuilder/fwbuilder"
|
||
3 years ago
|
SRC_URI="https://github.com/fwbuilder/fwbuilder/archive/refs/tags/v${PV/_/-}.tar.gz -> ${P}.tar.gz"
|
||
|
S="${WORKDIR}/${P/_/-}"
|
||
3 years ago
|
|
||
|
LICENSE="GPL-2+"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||
3 years ago
|
IUSE="test"
|
||
|
RESTRICT="!test? ( test )"
|
||
3 years ago
|
|
||
|
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
|
||
|
"
|
||
3 years ago
|
DEPEND="${RDEPEND}
|
||
|
test? ( dev-qt/qttest:5 )"
|
||
3 years ago
|
|
||
|
PATCHES=(
|
||
|
"${FILESDIR}"/${PN}-6.0.0_pre20200502-drop-Werror.patch
|
||
3 years ago
|
"${FILESDIR}"/${PN}-6.0.0_rc1-automagic-ccache.patch
|
||
|
"${FILESDIR}"/${P}-fix_version.patch
|
||
3 years ago
|
)
|
||
|
|
||
3 years ago
|
src_configure() {
|
||
|
local mycmakeargs=(
|
||
|
-DBUILD_TESTING=$(usex test)
|
||
|
)
|
||
|
|
||
|
cmake_src_configure
|
||
|
}
|
||
|
|
||
3 years ago
|
src_install() {
|
||
|
cmake_src_install
|
||
|
docompress -x /usr/share/man
|
||
|
}
|