public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/betagarden:master commit in: dev-cpp/curlpp/files/, dev-cpp/curlpp/
@ 2011-11-26 21:30 Alexey Shvetsov
  0 siblings, 0 replies; only message in thread
From: Alexey Shvetsov @ 2011-11-26 21:30 UTC (permalink / raw
  To: gentoo-commits

commit:     ec0fde6c0aaa666a32544a8a68a8a17b0935b164
Author:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 26 21:24:33 2011 +0000
Commit:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Sat Nov 26 21:24:33 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/betagarden.git;a=commit;h=ec0fde6c

[dev-cpp/curlpp] Import from alexxy overlay

(Portage version: 2.2.0_alpha78/git/Linux x86_64, signed Manifest commit with key F82F92E6)

---
 dev-cpp/curlpp/ChangeLog                          |    7 ++++
 dev-cpp/curlpp/curlpp-0.7.2.ebuild                |   32 +++++++++++++++++++++
 dev-cpp/curlpp/files/disable-examples-build.patch |    9 ++++++
 dev-cpp/curlpp/metadata.xml                       |    7 ++++
 4 files changed, 55 insertions(+), 0 deletions(-)

diff --git a/dev-cpp/curlpp/ChangeLog b/dev-cpp/curlpp/ChangeLog
new file mode 100644
index 0000000..e1a78d6
--- /dev/null
+++ b/dev-cpp/curlpp/ChangeLog
@@ -0,0 +1,7 @@
+# ChangeLog for dev-cpp/curlpp
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+  02 Feb 2009; Alexey Shvetsov <alexxy@gentoo.org> curlpp-0.7.2.ebuild:
+  Bump to EAPI2
+

diff --git a/dev-cpp/curlpp/curlpp-0.7.2.ebuild b/dev-cpp/curlpp/curlpp-0.7.2.ebuild
new file mode 100644
index 0000000..d121c01
--- /dev/null
+++ b/dev-cpp/curlpp/curlpp-0.7.2.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+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"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="net-misc/curl"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+	sed -i -e "s:@CURLPP_CFLAGS@:@CURLPP_CXXFLAGS@:" curlpp-config.in
+	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}"
+	doins examples/*
+}

diff --git a/dev-cpp/curlpp/files/disable-examples-build.patch b/dev-cpp/curlpp/files/disable-examples-build.patch
new file mode 100644
index 0000000..0a425eb
--- /dev/null
+++ b/dev-cpp/curlpp/files/disable-examples-build.patch
@@ -0,0 +1,9 @@
+--- Makefile.am	2007-01-22 01:22:19.000000000 +0100
++++ Makefile.am__	2008-04-25 15:14:42.865079502 +0200
+@@ -1,5 +1,5 @@
+ ACLOCAL_AMFLAGS = -I m4
+-SUBDIRS = utilspp curlpp examples doc 
++SUBDIRS = utilspp curlpp doc 
+ EXTRA_DIST = curlpp.vcproj curlpp.sln CHANGES curlpp.spec
+ 
+ pkgconfigdir = $(libdir)/pkgconfig

diff --git a/dev-cpp/curlpp/metadata.xml b/dev-cpp/curlpp/metadata.xml
new file mode 100644
index 0000000..a9b66f6
--- /dev/null
+++ b/dev-cpp/curlpp/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer>
+    <email>alexxy@gentoo.org</email>
+  </maintainer>
+</pkgmetadata>



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-11-26 21:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-26 21:30 [gentoo-commits] proj/betagarden:master commit in: dev-cpp/curlpp/files/, dev-cpp/curlpp/ Alexey Shvetsov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox