You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-libs/libclastfm/libclastfm-0.4.ebuild

35 lines
804 B

# 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.3 2012/02/10 12:14:37 ssuominen 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}
dev-util/pkgconfig"
DOCS=( AUTHORS README )
src_prepare() {
# Fix compability with recent curl
sed -i -e '/<curl\/types.h>/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
}