commit:     938529bca3f5b1c7868fe59219cb61368aaf0edd
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 10 10:58:38 2014 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Nov 10 10:58:38 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=938529bc

net-ftp/bbftp-client: Bump EAPI; respect CC; version Bump

Package-Manager: portage-2.2.14

---
 net-ftp/bbftp-client/ChangeLog                     |  6 ++++-
 ...ient-3.2.0.ebuild => bbftp-client-3.2.1.ebuild} | 31 +++++++++++++++-------
 net-ftp/bbftp-client/metadata.xml                  |  4 +--
 3 files changed, 28 insertions(+), 13 deletions(-)

diff --git a/net-ftp/bbftp-client/ChangeLog b/net-ftp/bbftp-client/ChangeLog
index bd53597..a515e06 100644
--- a/net-ftp/bbftp-client/ChangeLog
+++ b/net-ftp/bbftp-client/ChangeLog
@@ -1,7 +1,11 @@
 # ChangeLog for net-ftp/bbftp-client
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  10 Nov 2014; Justin Lecher <[email protected]> -bbftp-client-3.2.0.ebuild,
+  +bbftp-client-3.2.1.ebuild, metadata.xml:
+  Bump EAPI; respect CC; version Bump
+
   23 Jun 2010; Andreas K. Huettel (dilfridge) <[email protected]>
   bbftp-client-3.2.0.ebuild:
   QA fixes

diff --git a/net-ftp/bbftp-client/bbftp-client-3.2.0.ebuild 
b/net-ftp/bbftp-client/bbftp-client-3.2.1.ebuild
similarity index 61%
rename from net-ftp/bbftp-client/bbftp-client-3.2.0.ebuild
rename to net-ftp/bbftp-client/bbftp-client-3.2.1.ebuild
index 1480a6e..bf978da 100644
--- a/net-ftp/bbftp-client/bbftp-client-3.2.0.ebuild
+++ b/net-ftp/bbftp-client/bbftp-client-3.2.1.ebuild
@@ -2,11 +2,13 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-DESCRIPTION="Secure file transfer software with its own transfer protocol 
optimized for files larger than 2GB"
+EAPI=5
+
+inherit toolchain-funcs
 
+DESCRIPTION="Secure file transfer software with its own transfer protocol 
optimized for files larger than 2GB"
 HOMEPAGE="http://doc.in2p3.fr/bbftp/";
 SRC_URI="http://doc.in2p3.fr/bbftp/dist/${P}.tar.gz";
-S="${WORKDIR}/${P}/bbftpc"
 
 LICENSE="GPL-2"
 SLOT="0"
@@ -16,17 +18,26 @@ IUSE="ssl"
 DEPEND="ssl? ( dev-libs/openssl )"
 RDEPEND="${DEPEND}"
 
-src_compile() {
-       sed -i -e 
'/@INSTALL@\|mkdir/s:${\(prefix\|mandir\|bindir\)}:${DESTDIR}${\1}:' -e 
'/\/etc/d' Makefile.in
-       econf $(use_with ssl) --with-gzip \
+S="${WORKDIR}/${P}/bbftpc"
+
+src_prepare() {
+       sed \
+               -e 
'/@INSTALL@\|mkdir/s:${\(prefix\|mandir\|bindir\)}:${DESTDIR}${\1}:' \
+               -e '/\/etc/d' \
+               -i Makefile.in || die
+       tc-export CC
+}
+
+src_configure() {
+       econf \
+               $(use_with ssl) \
+               --with-gzip \
                --without-rfio \
-               --without-afs || die "configure failed"
-       emake
+               --without-afs
 }
 
 src_install() {
-       emake DESTDIR="${D}" install || die "install failed"
-       dodoc ../README ../ChangeLog ../TODO
-       dodoc ../doc/*
+       default
+       dodoc ../README ../ChangeLog ../TODO ../doc/*
        doman ../doc/bbftp.1
 }

diff --git a/net-ftp/bbftp-client/metadata.xml 
b/net-ftp/bbftp-client/metadata.xml
index 7e915aa..7e5e956 100644
--- a/net-ftp/bbftp-client/metadata.xml
+++ b/net-ftp/bbftp-client/metadata.xml
@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
 <pkgmetadata>
-<herd>sci</herd>
-<longdescription>
+  <herd>sci</herd>
+  <longdescription>
 bbFTP is a file transfer software. It implements its own transfer protocol,
 which is optimized for large files (larger than 2GB) and secure as it does not
 read the password in a file and encrypts the connection information.

Reply via email to