1st export of non-private Ebuilds
This commit is contained in:
53
net-firewall/fwbuilder/fwbuilder-9999.ebuild
Normal file
53
net-firewall/fwbuilder/fwbuilder-9999.ebuild
Normal file
@@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="A firewall GUI"
|
||||
HOMEPAGE="https://github.com/fwbuilder/fwbuilder"
|
||||
if [[ ${PV} == 9999* ]]
|
||||
then
|
||||
EGIT_REPO_URI="https://github.com/fwbuilder/fwbuilder"
|
||||
inherit git-r3
|
||||
KEYWORDS=""
|
||||
else
|
||||
MY_PV=$(ver_rs 3 '-')
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
SRC_URI="https://github.com/fwbuilder/${PN}/archive/v${MY_PV}.tar.gz -> ${PN}-${MY_PV}.tar.gz"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
dev-libs/libxml2
|
||||
dev-libs/libxslt
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtprintsupport:5
|
||||
dev-qt/qtwidgets:5
|
||||
net-analyzer/net-snmp
|
||||
sys-libs/zlib
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="dev-qt/qttest:5"
|
||||
|
||||
# https://github.com/fwbuilder/fwbuilder/pull/63
|
||||
#PATCHES=( "${FILESDIR}/${P}-gcc-maybe-uninitialized.patch" )
|
||||
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
|
||||
elog "You need to install sys-apps/iproute2"
|
||||
elog "in order to run the firewall script."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
Reference in New Issue
Block a user