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.
54 lines
1.2 KiB
54 lines
1.2 KiB
5 years ago
|
# Copyright 1999-2020 Gentoo Authors
|
||
12 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
8 years ago
|
EAPI=6
|
||
12 years ago
|
|
||
|
MY_PN="NetworkManager-sstp"
|
||
|
MY_P="${MY_PN}-${PV}"
|
||
|
|
||
|
DESCRIPTION="Client for the proprietary Microsoft Secure Socket Tunneling Protocol(SSTP)"
|
||
8 years ago
|
HOMEPAGE="https://sourceforge.net/projects/sstp-client/"
|
||
8 years ago
|
SRC_URI="mirror://sourceforge/project/sstp-client/network-manager-sstp/${PV}/${MY_P}.tar.bz2"
|
||
12 years ago
|
|
||
|
LICENSE="GPL-2"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="~amd64 ~x86"
|
||
|
IUSE="gtk"
|
||
|
|
||
4 years ago
|
RDEPEND="
|
||
|
>=dev-libs/glib-2.32:2
|
||
12 years ago
|
net-misc/sstp-client
|
||
4 years ago
|
>=net-misc/networkmanager-1.1.0
|
||
12 years ago
|
net-dialup/ppp:=
|
||
|
gtk? (
|
||
4 years ago
|
>=x11-libs/gtk+-3.4:3
|
||
|
>=net-libs/libnma-1.1.0
|
||
5 years ago
|
app-crypt/libsecret
|
||
12 years ago
|
)
|
||
|
"
|
||
|
|
||
|
DEPEND="${RDEPEND}
|
||
4 years ago
|
dev-util/gdbus-codegen
|
||
12 years ago
|
virtual/pkgconfig
|
||
|
sys-devel/gettext
|
||
|
dev-util/intltool
|
||
|
"
|
||
|
|
||
|
S="${WORKDIR}/${MY_P}"
|
||
|
|
||
|
src_configure() {
|
||
|
local PPPD_VERSION="$(echo $(best_version net-dialup/ppp) | sed -e 's:net-dialup/ppp-\(.*\):\1:' -e 's:-r.*$::')"
|
||
|
econf \
|
||
|
--disable-more-warnings \
|
||
|
--disable-static \
|
||
|
--with-dist-version=Gentoo \
|
||
|
--with-pppd-plugin-dir="${EPREFIX}/usr/$(get_libdir)/pppd/${PPPD_VERSION}" \
|
||
4 years ago
|
$(use_with gtk gnome) \
|
||
|
--without-libnm-glib
|
||
12 years ago
|
}
|
||
|
|
||
|
src_install() {
|
||
|
default
|
||
4 years ago
|
find "${ED}" -type f -name '*.la' -delete || die
|
||
12 years ago
|
}
|