# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=4 inherit autotools eutils DESCRIPTION="An open-source multi-platform crash reporting system" HOMEPAGE="http://code.google.com/p/google-breakpad/" SRC_URI="mirror://github/jauhien/sources/${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~x86" IUSE="processor tools" DEPEND="net-misc/curl" RDEPEND="${DEPEND}" src_prepare() { #omitting libdisasm as it is modified and lss as it is just header rm -r src/third_party/{curl,glog,linux,protobuf} || die #copying pkg-config file in the working dir cp "${FILESDIR}/breakpad.pc.in" ./ epatch \ "${FILESDIR}/${P}-curl.patch" \ "${FILESDIR}/${P}-docs.patch" \ "${FILESDIR}/${P}-headers.patch" \ "${FILESDIR}/${P}-package-ver.patch" eautoreconf } src_configure() { econf \ $(use_enable processor ) \ $(use_enable tools ) }