diff options
author | Sebastian Pipping <sping@gentoo.org> | 2019-01-02 18:10:38 +0100 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2019-01-02 18:11:31 +0100 |
commit | 509a340858715521d7b16ee022f3dea3b0e5f6c8 (patch) | |
tree | 44deb1234e4291da27dab770ac9a458dfc98fead /dev-libs/uriparser/uriparser-0.9.1.ebuild | |
parent | sci-electronics/kicad-meta: Bump to 5.0.1 version (diff) | |
download | gentoo-509a340858715521d7b16ee022f3dea3b0e5f6c8.tar.gz gentoo-509a340858715521d7b16ee022f3dea3b0e5f6c8.tar.bz2 gentoo-509a340858715521d7b16ee022f3dea3b0e5f6c8.zip |
dev-libs/uriparser: 0.9.1
Ping: https://github.com/uriparser/uriparser/issues/43
Signed-off-by: Sebastian Pipping <sping@gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11
Diffstat (limited to 'dev-libs/uriparser/uriparser-0.9.1.ebuild')
-rw-r--r-- | dev-libs/uriparser/uriparser-0.9.1.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/dev-libs/uriparser/uriparser-0.9.1.ebuild b/dev-libs/uriparser/uriparser-0.9.1.ebuild new file mode 100644 index 000000000000..7fcaa4b05570 --- /dev/null +++ b/dev-libs/uriparser/uriparser-0.9.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Uriparser is a strictly RFC 3986 compliant URI parsing library in C" +HOMEPAGE="https://uriparser.github.io/" +SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="doc qt5 test unicode" + +RDEPEND="" +DEPEND="virtual/pkgconfig + doc? ( >=app-doc/doxygen-1.5.8 + qt5? ( dev-qt/qthelp:5 ) ) + test? ( >=dev-cpp/gtest-1.8.1 )" + +REQUIRED_USE="test? ( unicode )" + +DOCS=( AUTHORS ChangeLog THANKS ) + +src_configure() { + econf \ + $(use_enable test) \ + --enable-char \ + $(use_enable unicode wchar_t) \ + $(use_enable doc) \ + --docdir=/usr/share/doc/${PF}/ +} + +src_install() { + default + + if use doc && use qt5; then + dodoc doc/*.qch + docompress -x /usr/share/doc/${PF}/${P}.qch + fi +} |