diff options
author | 2023-10-24 22:48:26 +0900 | |
---|---|---|
committer | 2023-10-24 22:49:32 +0900 | |
commit | 843b61e14bfe7f3898d9c8d6eb5316b5dac2fc75 (patch) | |
tree | 25cf5e4da64318367144746351026f889182b5ea /dev-libs/libutf8proc/libutf8proc-2.7.0.ebuild | |
parent | dev-libs/libutf8proc: update USE_RUBY (diff) | |
download | gentoo-843b61e14bfe7f3898d9c8d6eb5316b5dac2fc75.tar.gz gentoo-843b61e14bfe7f3898d9c8d6eb5316b5dac2fc75.tar.bz2 gentoo-843b61e14bfe7f3898d9c8d6eb5316b5dac2fc75.zip |
dev-libs/libutf8proc: drop old
Signed-off-by: Akinori Hattori <hattya@gentoo.org>
Diffstat (limited to 'dev-libs/libutf8proc/libutf8proc-2.7.0.ebuild')
-rw-r--r-- | dev-libs/libutf8proc/libutf8proc-2.7.0.ebuild | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/dev-libs/libutf8proc/libutf8proc-2.7.0.ebuild b/dev-libs/libutf8proc/libutf8proc-2.7.0.ebuild deleted file mode 100644 index 00d56d4c5a44..000000000000 --- a/dev-libs/libutf8proc/libutf8proc-2.7.0.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="8" -USE_RUBY="ruby27 ruby30 ruby31" - -inherit ruby-single toolchain-funcs - -DESCRIPTION="A clean C Library for processing UTF-8 Unicode data" -HOMEPAGE="https://github.com/JuliaStrings/utf8proc" -SRC_URI="https://github.com/JuliaStrings/${PN#lib}/archive/v${PV}.tar.gz -> ${P}.tar.gz - cjk? ( https://dev.gentoo.org/~hattya/distfiles/${PN}-EastAsianWidth-14.0.0.xz )" - -LICENSE="MIT" -SLOT="0/${PV}" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~x64-macos" -IUSE="cjk static-libs test" -RESTRICT="!test? ( test )" - -BDEPEND="test? ( - =app-i18n/unicode-data-14.0* - ${RUBY_DEPS} - )" -S="${WORKDIR}/${P#lib}" - -QA_PKGCONFIG_VERSION="$(ver_cut 1).5.0" - -src_prepare() { - if use cjk; then - einfo "Modifying East Asian Ambiguous (A) as wide ..." - cp "${WORKDIR}"/${PN}-EastAsianWidth-14.0.0 ${PN#lib}_data.c || die - fi - - sed -i "/^libdir/s:/lib:/$(get_libdir):" Makefile - default -} - -src_compile() { - emake \ - AR="$(tc-getAR)" \ - CC="$(tc-getCC)" \ - prefix="${EPREFIX}/usr" -} - -src_test() { - cp "${BROOT}"/usr/share/unicode-data/{DerivedCoreProperties,{Normalization,auxiliary/GraphemeBreak}Test}.txt data || die - - emake CC="$(tc-getCC)" check -} - -src_install() { - emake \ - DESTDIR="${D}" \ - prefix="${EPREFIX}/usr" \ - install - use static-libs || find "${ED}" -name '*.a' -delete || die -} |