diff options
author | Marcin Deranek <marcin.deranek@booking.com> | 2022-01-21 18:21:00 +0100 |
---|---|---|
committer | Marcin Deranek <marcin.deranek@booking.com> | 2022-01-21 18:21:00 +0100 |
commit | 181f18003c632f2115e13765ef792154393b4a00 (patch) | |
tree | 449bffb2ab13c809cdb518aa132faa0d853ed351 /net-vpn/globalprotect-openconnect/globalprotect-openconnect-1.3.4.ebuild | |
parent | 89758a7c51c29099d1ce01bb7045ab5bf6fdcf93 (diff) | |
download | portage-181f18003c632f2115e13765ef792154393b4a00.tar.gz portage-181f18003c632f2115e13765ef792154393b4a00.tar.bz2 portage-181f18003c632f2115e13765ef792154393b4a00.zip |
Initial ebuild
Diffstat (limited to 'net-vpn/globalprotect-openconnect/globalprotect-openconnect-1.3.4.ebuild')
-rw-r--r-- | net-vpn/globalprotect-openconnect/globalprotect-openconnect-1.3.4.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/net-vpn/globalprotect-openconnect/globalprotect-openconnect-1.3.4.ebuild b/net-vpn/globalprotect-openconnect/globalprotect-openconnect-1.3.4.ebuild new file mode 100644 index 0000000..206ef8b --- /dev/null +++ b/net-vpn/globalprotect-openconnect/globalprotect-openconnect-1.3.4.ebuild @@ -0,0 +1,36 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="GlobalProtect VPN GUI based on Openconnect with SAML auth mode support" +HOMEPAGE="https://github.com/yuezk/GlobalProtect-openconnect" +SRC_URI="https://github.com/yuezk/GlobalProtect-openconnect/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/GlobalProtect-openconnect-${PV}" + +inherit cmake + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" + dev-qt/qtcore + dev-qt/qtdbus + dev-qt/qtnetwork + dev-qt/qtwebengine + dev-qt/qtwebsockets + dev-qt/qtwidgets + net-vpn/openconnect +" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_compile() { + cmake -B build -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr" -DCMAKE_BUILD_TYPE=Release + cmake --build build +} + +src_install() { + emake DESTDIR="${D}" install -C build +} |