1 |
commit: 27719bc5f2fdbf4dd80a8b4bd49e57bd8bd9ae62 |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jun 4 15:09:36 2017 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 4 15:09:36 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/betagarden.git/commit/?id=27719bc5 |
7 |
|
8 |
net-misc/ut-vpn: Bump to EAPI=6 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
12 |
|
13 |
net-misc/ut-vpn/ut-vpn-1.01.ebuild | 21 ++++++++++----------- |
14 |
1 file changed, 10 insertions(+), 11 deletions(-) |
15 |
|
16 |
diff --git a/net-misc/ut-vpn/ut-vpn-1.01.ebuild b/net-misc/ut-vpn/ut-vpn-1.01.ebuild |
17 |
index 149cb29..8f47899 100644 |
18 |
--- a/net-misc/ut-vpn/ut-vpn-1.01.ebuild |
19 |
+++ b/net-misc/ut-vpn/ut-vpn-1.01.ebuild |
20 |
@@ -1,6 +1,8 @@ |
21 |
-# Copyright 1999-2011 Gentoo Foundation |
22 |
+# Copyright 1999-2017 Gentoo Foundation |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
+EAPI=6 |
26 |
+ |
27 |
inherit toolchain-funcs |
28 |
|
29 |
DESCRIPTION="UT-VPN" |
30 |
@@ -12,18 +14,18 @@ SLOT="0" |
31 |
KEYWORDS="~amd64 ~x86 ~x86-fbsd" |
32 |
IUSE="elibc_FreeBSD" |
33 |
|
34 |
-DEPEND="dev-libs/openssl |
35 |
- sys-libs/readline |
36 |
+DEPEND=" |
37 |
+ dev-libs/openssl:0= |
38 |
+ sys-libs/ncurses:0= |
39 |
+ sys-libs/readline:0= |
40 |
sys-libs/zlib |
41 |
- sys-libs/ncurses |
42 |
elibc_FreeBSD? ( sys-libs/freebsd-lib dev-libs/libiconv )" |
43 |
RDEPEND="${DEPEND}" |
44 |
|
45 |
S="${WORKDIR}"/utvpn-unix-v101-7101-public |
46 |
|
47 |
-src_unpack() { |
48 |
- unpack ${A} |
49 |
- cd "${S}" |
50 |
+src_prepare() { |
51 |
+ default |
52 |
|
53 |
local makefile="" |
54 |
if use x86 ;then |
55 |
@@ -41,11 +43,8 @@ src_unpack() { |
56 |
-e "/^INSTALL_/s:=/:=${D}/:" Makefile || die |
57 |
} |
58 |
|
59 |
-src_compile() { |
60 |
- emake || die |
61 |
-} |
62 |
- |
63 |
src_install() { |
64 |
+ local x |
65 |
dodir /usr/bin |
66 |
emake install || die |