blob: 776583c0ba3bff9b5de0dc7895c7b7125ee61ee1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
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/*
}
|