dev-libs/libmaa: [QA] Do not install static archives
authorDavid Seifert <soap@gentoo.org>
Sun, 20 Oct 2019 14:37:22 +0000 (16:37 +0200)
committerDavid Seifert <soap@gentoo.org>
Sun, 20 Oct 2019 14:37:22 +0000 (16:37 +0200)
Closes: https://bugs.gentoo.org/401935
Package-Manager: Portage-2.3.77, Repoman-2.3.17
Signed-off-by: David Seifert <soap@gentoo.org>
dev-libs/libmaa/libmaa-1.3.2.ebuild

index 52d04eeae6c5ecc90ece9a271d80d5341d138a29..e1c047b6af425303da1fab22a76f890a799d5db1 100644 (file)
@@ -1,7 +1,7 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
+EAPI=7
 
 DESCRIPTION="Library with low-level data structures which are helpful for writing compilers"
 HOMEPAGE="http://www.dict.org/"
@@ -10,6 +10,11 @@ SRC_URI="mirror://sourceforge/dict/${P}.tar.gz"
 LICENSE="LGPL-2"
 SLOT="0"
 KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
-IUSE=""
 
-DOCS="ChangeLog NEWS README doc/libmaa.600dpi.ps"
+src_install() {
+       default
+       dodoc doc/libmaa.600dpi.ps
+
+       # don't want static or libtool archives, #401935
+       find "${D}" \( -name '*.a' -o -name '*.la' \) -delete || die
+}