1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="Lightweight, robust, and efficient POSIX compliant regexp matching library"
9 HOMEPAGE="https://laurikari.net/tre/ https://github.com/laurikari/tre/"
10 SRC_URI="https://laurikari.net/tre/${P}.tar.bz2"
14 KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x86-solaris"
15 IUSE="nls static-libs"
25 nls? ( sys-devel/gettext )"
27 PATCHES=( "${FILESDIR}/${PV}-pkgcfg.patch" )
38 $(use_enable static-libs static)
42 if locale -a | grep -iq en_US.iso88591; then
45 ewarn "If you like to run the test,"
46 ewarn "please make sure en_US.ISO-8859-1 is installed."
47 die "en_US.ISO-8859-1 locale is missing"
52 local HTML_DOCS=( doc/*.{css,html} )
57 mv "${ED%/}"/usr/bin/agrep{,-tre}$(get_exeext) || die
61 ewarn "app-misc/glimpse, app-text/agrep and this package all provide agrep."
62 ewarn "If this causes any unforeseen incompatibilities please file a bug"
63 ewarn "on https://bugs.gentoo.org."