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.
53 lines
1.1 KiB
53 lines
1.1 KiB
8 years ago
|
# Copyright 1999-2016 Gentoo Foundation
|
||
11 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
8 years ago
|
EAPI=6
|
||
11 years ago
|
|
||
8 years ago
|
inherit eutils
|
||
11 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"
|
||
11 years ago
|
|
||
|
LICENSE="GPL-2"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="~amd64 ~x86"
|
||
|
IUSE="gtk"
|
||
|
|
||
|
RDEPEND=">=dev-libs/dbus-glib-0.74
|
||
|
net-misc/sstp-client
|
||
|
>=net-misc/networkmanager-${PV}
|
||
|
net-dialup/ppp:=
|
||
|
gtk? (
|
||
|
x11-libs/gtk+:3
|
||
|
gnome-base/gnome-keyring
|
||
10 years ago
|
gnome-base/libgnome-keyring
|
||
11 years ago
|
)
|
||
|
"
|
||
|
|
||
|
DEPEND="${RDEPEND}
|
||
|
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}" \
|
||
|
$(use_with gtk gnome)
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
|
default
|
||
|
prune_libtool_files
|
||
|
}
|