commit:     27719bc5f2fdbf4dd80a8b4bd49e57bd8bd9ae62
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sun Jun  4 15:09:36 2017 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sun Jun  4 15:09:36 2017 +0000
URL:        https://gitweb.gentoo.org/proj/betagarden.git/commit/?id=27719bc5

net-misc/ut-vpn: Bump to EAPI=6

Package-Manager: Portage-2.3.6, Repoman-2.3.2
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 net-misc/ut-vpn/ut-vpn-1.01.ebuild | 21 ++++++++++-----------
 1 file changed, 10 insertions(+), 11 deletions(-)

diff --git a/net-misc/ut-vpn/ut-vpn-1.01.ebuild 
b/net-misc/ut-vpn/ut-vpn-1.01.ebuild
index 149cb29..8f47899 100644
--- a/net-misc/ut-vpn/ut-vpn-1.01.ebuild
+++ b/net-misc/ut-vpn/ut-vpn-1.01.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
+EAPI=6
+
 inherit toolchain-funcs
 
 DESCRIPTION="UT-VPN"
@@ -12,18 +14,18 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86 ~x86-fbsd"
 IUSE="elibc_FreeBSD"
 
-DEPEND="dev-libs/openssl
-       sys-libs/readline
+DEPEND="
+       dev-libs/openssl:0=
+       sys-libs/ncurses:0=
+       sys-libs/readline:0=
        sys-libs/zlib
-       sys-libs/ncurses
        elibc_FreeBSD? ( sys-libs/freebsd-lib dev-libs/libiconv )"
 RDEPEND="${DEPEND}"
 
 S="${WORKDIR}"/utvpn-unix-v101-7101-public
 
-src_unpack() {
-       unpack ${A}
-       cd "${S}"
+src_prepare() {
+       default
 
        local makefile=""
        if use x86 ;then
@@ -41,11 +43,8 @@ src_unpack() {
                -e "/^INSTALL_/s:=/:=${D}/:" Makefile || die
 }
 
-src_compile() {
-       emake || die
-}
-
 src_install() {
+       local x
        dodir /usr/bin
        emake install || die
 

Reply via email to