-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
-inherit alternatives eutils
+inherit alternatives
DESCRIPTION="C++ library to read and parse graphics in WPG"
HOMEPAGE="http://libwpg.sourceforge.net/libwpg.htm"
econf \
--disable-werror \
--program-suffix=-${SLOT} \
- --docdir="${EPREFIX%/}/usr/share/doc/${PF}" \
$(use_with doc docs) \
$(use_enable static-libs static)
}
src_install() {
default
- prune_libtool_files --all
+ find "${D}" -name '*.la' -delete || die
}
pkg_postinst() {