1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="Library for manipulating zip archives"
9 HOMEPAGE="http://www.nih.at/libzip/"
10 SRC_URI="http://www.nih.at/libzip/${P}.tar.xz"
14 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
19 elibc_musl? ( sys-libs/fts-standalone )
23 DOCS=( AUTHORS NEWS.md API-CHANGES THANKS )
26 "${FILESDIR}/${P}-headers.patch"
27 "${FILESDIR}/${P}-fts.patch"
37 use static-libs || rm "${ED%/}"/usr/lib64/libzip.a || die
38 find "${D}" -name '*.la' -delete || die