1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="Library for manipulating Unicode and C strings according to Unicode standard"
9 HOMEPAGE="https://www.gnu.org/software/libunistring/"
10 SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
12 LICENSE="LGPL-3 GPL-3"
14 KEYWORDS="amd64 arm x86 ~amd64-linux"
15 IUSE="doc static-libs"
18 epatch "${FILESDIR}"/${PN}-nodocs.patch
22 econf $(use_enable static-libs static)
26 dodoc AUTHORS README ChangeLog || die "dodoc failed"
28 dohtml doc/*.html || die "dohtml failed"
29 doinfo doc/*.info || die "doinfo failed"
32 emake DESTDIR="${D}" install || die "Install failed"