commit:     d2a6c20c99bad1a205d8e262fc7c867922c5d506
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 22 10:38:47 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Tue Sep 22 10:38:47 2015 +0000
URL:        https://gitweb.gentoo.org/proj/betagarden.git/commit/?id=d2a6c20c

dev-cpp/curlpp: Fix SRC_URI

Package-Manager: portage-2.2.21
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 .../curlpp/{curlpp-0.7.2.ebuild => curlpp-0.7.3.ebuild}  | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/dev-cpp/curlpp/curlpp-0.7.2.ebuild 
b/dev-cpp/curlpp/curlpp-0.7.3.ebuild
similarity index 59%
rename from dev-cpp/curlpp/curlpp-0.7.2.ebuild
rename to dev-cpp/curlpp/curlpp-0.7.3.ebuild
index 776583c..d2bd719 100644
--- a/dev-cpp/curlpp/curlpp-0.7.2.ebuild
+++ b/dev-cpp/curlpp/curlpp-0.7.3.ebuild
@@ -1,14 +1,14 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI="2"
+EAPI=5
 
 inherit autotools
 
 DESCRIPTION="C++ bindings of libcurl"
-HOMEPAGE="http://rrette.com/textpattern/index.php?s=cURLpp";
-SRC_URI="http://rrette.com/files/curlpp/curlpp-0.7/${P}.tar.gz";
+HOMEPAGE="http://www.curlpp.org/";
+SRC_URI="https://github.com/jpbarrette/curlpp/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
@@ -19,14 +19,14 @@ DEPEND="net-misc/curl"
 RDEPEND="${DEPEND}"
 
 src_prepare() {
-       sed -i -e "s:@CURLPP_CFLAGS@:@CURLPP_CXXFLAGS@:" curlpp-config.in
+       sed -i -e "s:@CURLPP_CFLAGS@:@CURLPP_CXXFLAGS@:" curlpp-config.in || die
        epatch "${FILESDIR}/disable-examples-build.patch" #example18 doesnt 
build
        eautoreconf
 }
 
 src_install() {
-       emake DESTDIR="${D}" install || die "install failed"
-       dodoc CHANGES AUTHORS TODO doc/guide.pdf
-       insinto "/usr/share/${P}"
+       default
+       dodoc doc/guide.pdf
+       insinto /usr/share/${P}
        doins examples/*
 }

Reply via email to