# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-libs/libclastfm/libclastfm-0.4.ebuild,v 1.4 2012/05/05 08:02:33 jdhore Exp $ EAPI=4 DESCRIPTION="An unofficial C-API to the last.fm web service" HOMEPAGE="http://liblastfm.sourceforge.net/" SRC_URI="mirror://sourceforge/liblastfm/${P}.tar.gz" LICENSE="GPL-3" SLOT="0" KEYWORDS="amd64 x86" IUSE="static-libs" RDEPEND="net-misc/curl" DEPEND="${RDEPEND} virtual/pkgconfig" DOCS=( AUTHORS README ) src_prepare() { # Fix compability with recent curl sed -i -e '//d' src/{lastfm-priv.h,lfm_helper.{c,h}} || die } src_configure() { econf $(use_enable static-libs static) } src_install() { default rm -f "${ED}"usr/lib*/${PN}.la }