Gentoo Archives: gentoo-commits

From: Alexey Shvetsov <alexxy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/betagarden:master commit in: dev-cpp/curlpp/files/, dev-cpp/curlpp/
Date: Sat, 26 Nov 2011 21:30:41
Message-Id: ec0fde6c0aaa666a32544a8a68a8a17b0935b164.alexxy@gentoo
1 commit: ec0fde6c0aaa666a32544a8a68a8a17b0935b164
2 Author: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
3 AuthorDate: Sat Nov 26 21:24:33 2011 +0000
4 Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 26 21:24:33 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/betagarden.git;a=commit;h=ec0fde6c
7
8 [dev-cpp/curlpp] Import from alexxy overlay
9
10 (Portage version: 2.2.0_alpha78/git/Linux x86_64, signed Manifest commit with key F82F92E6)
11
12 ---
13 dev-cpp/curlpp/ChangeLog | 7 ++++
14 dev-cpp/curlpp/curlpp-0.7.2.ebuild | 32 +++++++++++++++++++++
15 dev-cpp/curlpp/files/disable-examples-build.patch | 9 ++++++
16 dev-cpp/curlpp/metadata.xml | 7 ++++
17 4 files changed, 55 insertions(+), 0 deletions(-)
18
19 diff --git a/dev-cpp/curlpp/ChangeLog b/dev-cpp/curlpp/ChangeLog
20 new file mode 100644
21 index 0000000..e1a78d6
22 --- /dev/null
23 +++ b/dev-cpp/curlpp/ChangeLog
24 @@ -0,0 +1,7 @@
25 +# ChangeLog for dev-cpp/curlpp
26 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 +# $Header: $
28 +
29 + 02 Feb 2009; Alexey Shvetsov <alexxy@g.o> curlpp-0.7.2.ebuild:
30 + Bump to EAPI2
31 +
32
33 diff --git a/dev-cpp/curlpp/curlpp-0.7.2.ebuild b/dev-cpp/curlpp/curlpp-0.7.2.ebuild
34 new file mode 100644
35 index 0000000..d121c01
36 --- /dev/null
37 +++ b/dev-cpp/curlpp/curlpp-0.7.2.ebuild
38 @@ -0,0 +1,32 @@
39 +# Copyright 1999-2009 Gentoo Foundation
40 +# Distributed under the terms of the GNU General Public License v2
41 +# $Header: $
42 +
43 +EAPI="2"
44 +
45 +inherit autotools
46 +
47 +DESCRIPTION="C++ bindings of libcurl"
48 +HOMEPAGE="http://rrette.com/textpattern/index.php?s=cURLpp"
49 +SRC_URI="http://rrette.com/files/curlpp/curlpp-0.7/${P}.tar.gz"
50 +
51 +LICENSE="MIT"
52 +SLOT="0"
53 +KEYWORDS="~amd64 ~x86"
54 +IUSE=""
55 +
56 +DEPEND="net-misc/curl"
57 +RDEPEND="${DEPEND}"
58 +
59 +src_prepare() {
60 + sed -i -e "s:@CURLPP_CFLAGS@:@CURLPP_CXXFLAGS@:" curlpp-config.in
61 + epatch "${FILESDIR}/disable-examples-build.patch" #example18 doesnt build
62 + eautoreconf
63 +}
64 +
65 +src_install() {
66 + emake DESTDIR="${D}" install || die "install failed"
67 + dodoc CHANGES AUTHORS TODO doc/guide.pdf
68 + insinto "/usr/share/${P}"
69 + doins examples/*
70 +}
71
72 diff --git a/dev-cpp/curlpp/files/disable-examples-build.patch b/dev-cpp/curlpp/files/disable-examples-build.patch
73 new file mode 100644
74 index 0000000..0a425eb
75 --- /dev/null
76 +++ b/dev-cpp/curlpp/files/disable-examples-build.patch
77 @@ -0,0 +1,9 @@
78 +--- Makefile.am 2007-01-22 01:22:19.000000000 +0100
79 ++++ Makefile.am__ 2008-04-25 15:14:42.865079502 +0200
80 +@@ -1,5 +1,5 @@
81 + ACLOCAL_AMFLAGS = -I m4
82 +-SUBDIRS = utilspp curlpp examples doc
83 ++SUBDIRS = utilspp curlpp doc
84 + EXTRA_DIST = curlpp.vcproj curlpp.sln CHANGES curlpp.spec
85 +
86 + pkgconfigdir = $(libdir)/pkgconfig
87
88 diff --git a/dev-cpp/curlpp/metadata.xml b/dev-cpp/curlpp/metadata.xml
89 new file mode 100644
90 index 0000000..a9b66f6
91 --- /dev/null
92 +++ b/dev-cpp/curlpp/metadata.xml
93 @@ -0,0 +1,7 @@
94 +<?xml version="1.0" encoding="UTF-8"?>
95 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
96 +<pkgmetadata>
97 + <maintainer>
98 + <email>alexxy@g.o</email>
99 + </maintainer>
100 +</pkgmetadata>