1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 EGIT_REPO_URI="https://anongit.freedesktop.org/git/libreoffice/libmspub.git"
7 [[ ${PV} == 9999 ]] && inherit autotools git-r3
9 DESCRIPTION="Library parsing Microsoft Publisher documents"
10 HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/libmspub"
11 [[ ${PV} == 9999 ]] || SRC_URI="https://dev-www.libreoffice.org/src/libmspub/${P}.tar.xz"
16 # Don't move KEYWORDS on the previous line or ekeyword won't work # 399061
17 [[ ${PV} == 9999 ]] || \
18 KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 x86"
20 IUSE="doc static-libs"
31 doc? ( app-doc/doxygen )
36 [[ -d m4 ]] || mkdir "m4"
37 [[ ${PV} == 9999 ]] && eautoreconf
43 $(use_with doc docs) \
44 $(use_enable static-libs static)
49 find "${D}" -name '*.la' -delete || die