summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-05-29 13:41:36 +0200
committerJeroen Roovers <jer@gentoo.org>2018-05-29 13:47:33 +0200
commit6b0c3300adc1e1193a50a0f20579bc15db68d0ca (patch)
treed6e1afbbaffca7914bf8565d3bc956845f2ac3f8 /dev-libs/libunistring/libunistring-0.9.10.ebuild
parentsys-libs/libseccomp: add ~x86-linux prefix keyword (diff)
downloadgentoo-6b0c3300adc1e1193a50a0f20579bc15db68d0ca.tar.gz
gentoo-6b0c3300adc1e1193a50a0f20579bc15db68d0ca.tar.bz2
gentoo-6b0c3300adc1e1193a50a0f20579bc15db68d0ca.zip
dev-libs/libunistring: Version 0.9.10.
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-libs/libunistring/libunistring-0.9.10.ebuild')
-rw-r--r--dev-libs/libunistring/libunistring-0.9.10.ebuild44
1 files changed, 44 insertions, 0 deletions
diff --git a/dev-libs/libunistring/libunistring-0.9.10.ebuild b/dev-libs/libunistring/libunistring-0.9.10.ebuild
new file mode 100644
index 00000000000..ba7327e2d79
--- /dev/null
+++ b/dev-libs/libunistring/libunistring-0.9.10.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils multilib-minimal libtool
+
+DESCRIPTION="Library for manipulating Unicode and C strings according to Unicode standard"
+HOMEPAGE="https://www.gnu.org/software/libunistring/"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-3 GPL-3"
+SLOT="0/2"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="doc static-libs"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-nodocs.patch
+)
+
+src_prepare() {
+ default
+ elibtoolize # for Solaris shared libraries
+}
+
+multilib_src_configure() {
+ ECONF_SOURCE="${S}" \
+ econf $(use_enable static-libs static)
+}
+
+multilib_src_install() {
+ default
+
+ prune_libtool_files
+}
+
+multilib_src_install_all() {
+ default
+
+ if use doc; then
+ dohtml doc/*.html
+ doinfo doc/*.info
+ fi
+}