diff options
author | 2019-04-17 15:50:44 +0300 | |
---|---|---|
committer | 2019-04-17 15:50:44 +0300 | |
commit | cb98d57c07484a714a2fc959dfd1ad666ff02fdb (patch) | |
tree | a232a6d63ac588b70f6ee7a91080edeb101ffb5d | |
parent | dev-tex/BibTool: Fix src_prepare (diff) | |
download | alexxy-cb98d57c07484a714a2fc959dfd1ad666ff02fdb.tar.gz alexxy-cb98d57c07484a714a2fc959dfd1ad666ff02fdb.tar.bz2 alexxy-cb98d57c07484a714a2fc959dfd1ad666ff02fdb.zip |
net-misc/networkmanager-l2tp: New package
Package-Manager: Portage-2.3.63, Repoman-2.3.12
Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>
-rw-r--r-- | net-misc/networkmanager-l2tp/Manifest | 1 | ||||
-rw-r--r-- | net-misc/networkmanager-l2tp/metadata.xml | 8 | ||||
-rw-r--r-- | net-misc/networkmanager-l2tp/networkmanager-l2tp-1.2.12.ebuild | 52 |
3 files changed, 61 insertions, 0 deletions
diff --git a/net-misc/networkmanager-l2tp/Manifest b/net-misc/networkmanager-l2tp/Manifest new file mode 100644 index 0000000..c4284c6 --- /dev/null +++ b/net-misc/networkmanager-l2tp/Manifest @@ -0,0 +1 @@ +DIST NetworkManager-l2tp-1.2.12.tar.xz 397496 SHA256 6c93e4d2d85f37e36fb93ada31f9f525728f60060a275dd25f5206bcb1be9c62 SHA512 b3e6ab72e81df568b77afabd91cef40b35d2b9227087495b0b44f966ef937b6c78ccc94b019102c13fc76ba443f850fffe1ad7445f5967a1737532036e632422 WHIRLPOOL 5a9680958e70ee6ba2fe3d5f679349ab1cc4465b090b0aa963702fe534407a31a371341ca1387f5b9b1ab33b93c1bac720134ebbf9858fb4d7a4d794833873fe diff --git a/net-misc/networkmanager-l2tp/metadata.xml b/net-misc/networkmanager-l2tp/metadata.xml new file mode 100644 index 0000000..086586c --- /dev/null +++ b/net-misc/networkmanager-l2tp/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>alexxy@gentoo.org</email> + <name>Alexey Shvetsov</name> + </maintainer> +</pkgmetadata> diff --git a/net-misc/networkmanager-l2tp/networkmanager-l2tp-1.2.12.ebuild b/net-misc/networkmanager-l2tp/networkmanager-l2tp-1.2.12.ebuild new file mode 100644 index 0000000..a1b6b45 --- /dev/null +++ b/net-misc/networkmanager-l2tp/networkmanager-l2tp-1.2.12.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="NetworkManager-l2tp" +MY_P="${MY_PN}-${PV}" + +inherit eutils gnome.org autotools + +DESCRIPTION="NetworkManager L2TP plugin" +HOMEPAGE="https://github.com/nm-l2tp/network-manager-l2tp" +SRC_URI="https://github.com/nm-l2tp/${MY_PN}/releases/download/${PV}/${MY_P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gnome static-libs" + +RDEPEND=" + >=net-misc/networkmanager-1.2[ppp] + dev-libs/dbus-glib + net-dialup/ppp[eap-tls] + net-dialup/xl2tpd + >=dev-libs/glib-2.32 + net-vpn/libreswan + gnome? ( + x11-libs/gtk+:3 + gnome-base/libgnome-keyring + )" + +BDEPEND="${RDEPEND} + sys-devel/gettext + dev-util/intltool + virtual/pkgconfig" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + eautoreconf + eapply_user +} + +src_configure() { + local myeconfargs=( + --localstatedir=/var + $(use_with gnome) + $(use_enable static-libs static) + ) + + econf "${myeconfargs[@]}" +} |