Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=4
+EAPI=7
DESCRIPTION="C API library to the last.fm web service (unofficial)"
HOMEPAGE="http://liblastfm.sourceforge.net/"
KEYWORDS="amd64 x86"
IUSE="static-libs"
-RDEPEND="net-misc/curl"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
+BDEPEND="virtual/pkgconfig"
+DEPEND="net-misc/curl"
+RDEPEND="${DEPEND}"
-DOCS="AUTHORS README"
+DOCS=( AUTHORS README )
src_configure() {
econf $(use_enable static-libs static)
src_install() {
default
- rm -f "${ED}"/usr/lib*/*.la
+ find "${D}" -name '*.la' -type f -delete || die
}