From 7b702c672edb68142466339175606a159c4cefe9 Mon Sep 17 00:00:00 2001 From: David Michael Date: Sun, 7 Mar 2021 12:12:31 -0500 Subject: dev-libs/libunistring: EAPI 7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/774711 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: David Michael [Revision bump, LICENSE fix] Signed-off-by: Ulrich Müller --- .../libunistring/libunistring-0.9.10-r1.ebuild | 41 ++++++++++++++++++++ dev-libs/libunistring/libunistring-0.9.10.ebuild | 44 ---------------------- 2 files changed, 41 insertions(+), 44 deletions(-) create mode 100644 dev-libs/libunistring/libunistring-0.9.10-r1.ebuild delete mode 100644 dev-libs/libunistring/libunistring-0.9.10.ebuild (limited to 'dev-libs/libunistring') 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 +} diff --git a/dev-libs/libunistring/libunistring-0.9.10.ebuild b/dev-libs/libunistring/libunistring-0.9.10.ebuild deleted file mode 100644 index 4a9014675627..000000000000 --- a/dev-libs/libunistring/libunistring-0.9.10.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit eutils multilib-minimal libtool ltprune - -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 ~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() { - default - - prune_libtool_files -} - -multilib_src_install_all() { - default - - if use doc; then - dohtml doc/*.html - doinfo doc/*.info - fi -} -- cgit v1.2.3-65-gdbad