diff options
author | Andrey Grozin <grozin@gentoo.org> | 2017-12-14 16:40:09 +0700 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2017-12-14 16:40:09 +0700 |
commit | 8b4ea0f6d2bed140116f69855d1d3100ea0cf020 (patch) | |
tree | ceb2785a30303dd9baaaa35de9a54bc6193367b6 /dev-libs/libunibreak | |
parent | games-emulation/ppsspp: version bump to 1.5.4. (diff) | |
download | gentoo-8b4ea0f6d2bed140116f69855d1d3100ea0cf020.tar.gz gentoo-8b4ea0f6d2bed140116f69855d1d3100ea0cf020.tar.bz2 gentoo-8b4ea0f6d2bed140116f69855d1d3100ea0cf020.zip |
dev-libs/libunibreak: initial import
Reported-by: Johannes Janssen <mail@johannes-janssen.de>
Closes: https://bugs.gentoo.org/640968
Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'dev-libs/libunibreak')
-rw-r--r-- | dev-libs/libunibreak/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libunibreak/libunibreak-4.0.ebuild | 39 | ||||
-rw-r--r-- | dev-libs/libunibreak/metadata.xml | 14 |
3 files changed, 54 insertions, 0 deletions
diff --git a/dev-libs/libunibreak/Manifest b/dev-libs/libunibreak/Manifest new file mode 100644 index 000000000000..487fd898f5d1 --- /dev/null +++ b/dev-libs/libunibreak/Manifest @@ -0,0 +1 @@ +DIST libunibreak-4.0.tar.gz 629403 SHA256 f7329bef1eb169d3363f040cefcc323cfd0a0bc53290a35a395e1d1adc849539 SHA512 43da73f66fabd8fdef444c5a06ad1800464a0aeab590938522d6c19973950a242f2ccc0575a93d10d87bdcf82610452117ac081ddb73f47271a8c2a65897e11c WHIRLPOOL ad71bc5910ca3dff994651022a5a6c6093cd4023852270fa243848f7576287b7cec4ad02a6b27686149491cb52824a93fdb6a6dac4c878d67db2f4041282d300 diff --git a/dev-libs/libunibreak/libunibreak-4.0.ebuild b/dev-libs/libunibreak/libunibreak-4.0.ebuild new file mode 100644 index 000000000000..f531bb66e382 --- /dev/null +++ b/dev-libs/libunibreak/libunibreak-4.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit versionator + +DESCRIPTION="Line and word breaking library" +HOMEPAGE="http://vimgadgets.sourceforge.net/libunibreak/" +SRC_URI="https://github.com/adah1972/${PN}/releases/download/${PN}_$(replace_all_version_separators '_')/${P}.tar.gz" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~x86" +IUSE="doc +man static-libs" + +DEPEND="man? ( app-doc/doxygen )" +RDEPEND="!dev-libs/liblinebreak" + +src_prepare() { + use man && echo -e 'GENERATE_MAN=YES\nGENERATE_HTML=NO' >> Doxyfile + default +} + +src_configure() { + econf \ + $(use_enable static-libs static) + use doc && export HTML_DOCS=( doc/html/. ) +} + +src_compile() { + default + use man && doxygen || die +} + +src_install() { + default + prune_libtool_files + use man && find "${D}/usr/include" -type f -execdir doman "${S}/doc/man/man3/{}.3" \; +} diff --git a/dev-libs/libunibreak/metadata.xml b/dev-libs/libunibreak/metadata.xml new file mode 100644 index 000000000000..a8bbb441f294 --- /dev/null +++ b/dev-libs/libunibreak/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <longdescription lang="en"> + Libunibreak is an implementation of the line breaking and word breaking algorithms + as described in Unicode Standard Annex 14 and Unicode Standard Annex 29. It is + designed to be used in a generic text renderer. + </longdescription> + <use> + <flag name="man">Generate man pages with doxygen.</flag> + <flag name="doc">Install html API documentation.</flag> + </use> +</pkgmetadata> |