# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils MY_P=${PN}-0.7.0-pre2 S=${WORKDIR}/${MY_P} DESCRIPTION="C++ bindings of libcurl" HOMEPAGE="http://rrette.com/curlpp.html" SRC_URI="http://rrette.com/downloads/sources/${MY_P}.tar.gz" LICENSE="MIT license" SLOT="0" KEYWORDS="x86" IUSE="" DEPEND=">=net-misc/curl-7.10.0" src_unpack() { unpack ${A} cd ${S} } src_compile() { sed -i -e "s:@CURLPP_CFLAGS@:@CURLPP_CXXFLAGS@:" curlpp-config.in econf || die "econf failed" emake || die "emake failed"; } src_install() { make DESTDIR=${D} install || die }