summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Michael <fedora.dm0@gmail.com>2021-03-07 12:12:31 -0500
committerUlrich Müller <ulm@gentoo.org>2021-03-15 20:43:46 +0100
commit7b702c672edb68142466339175606a159c4cefe9 (patch)
tree0ac1c2bb838f13f30993d178ee3cc95c119dd59e /dev-libs/libunistring/libunistring-0.9.10-r1.ebuild
parentx11-misc/xlockmore: Drop superfluous 5.66_alpha10-r10, 5.66_alpha11-r1 (diff)
downloadgentoo-7b702c672edb68142466339175606a159c4cefe9.tar.gz
gentoo-7b702c672edb68142466339175606a159c4cefe9.tar.bz2
gentoo-7b702c672edb68142466339175606a159c4cefe9.zip
dev-libs/libunistring: EAPI 7
Closes: https://bugs.gentoo.org/774711 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: David Michael <fedora.dm0@gmail.com> [Revision bump, LICENSE fix] Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'dev-libs/libunistring/libunistring-0.9.10-r1.ebuild')
-rw-r--r--dev-libs/libunistring/libunistring-0.9.10-r1.ebuild41
1 files changed, 41 insertions, 0 deletions
diff --git a/dev-libs/libunistring/libunistring-0.9.10-r1.ebuild b/dev-libs/libunistring/libunistring-0.9.10-r1.ebuild
new file mode 100644
index 000000000000..521b7e2ce71b
--- /dev/null
+++ b/dev-libs/libunistring/libunistring-0.9.10-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit 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-2+ ) || ( FDL-1.2 GPL-3+ )"
+SLOT="0/2"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-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_all() {
+ default
+
+ if use doc; then
+ docinto html
+ dodoc doc/*.html
+ doinfo doc/*.info
+ fi
+
+ find "${ED}" -name '*.la' -delete || die
+}