diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2022-02-09 20:54:33 +0100 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2022-02-09 23:55:18 +0100 |
commit | 0ac687a8a2033ddc42e1275217c8b5dbd5763d29 (patch) | |
tree | 4aeebc5529e2112a5fd09d9a9c0d44231ed8e68d /app-text/msort | |
parent | app-text/aspell: drop 0.60.8-r3 (diff) | |
download | gentoo-0ac687a8a2033ddc42e1275217c8b5dbd5763d29.tar.gz gentoo-0ac687a8a2033ddc42e1275217c8b5dbd5763d29.tar.bz2 gentoo-0ac687a8a2033ddc42e1275217c8b5dbd5763d29.zip |
app-text/msort: update EAPI 7 -> 8
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'app-text/msort')
-rw-r--r-- | app-text/msort/msort-8.53-r1.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/app-text/msort/msort-8.53-r1.ebuild b/app-text/msort/msort-8.53-r1.ebuild new file mode 100644 index 000000000000..7165b1210a09 --- /dev/null +++ b/app-text/msort/msort-8.53-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="A program for sorting files in sophisticated ways" +HOMEPAGE="https://billposer.org/Software/msort.html" +SRC_URI="https://billposer.org/Software/Downloads/${P}.tar.bz2" + +KEYWORDS="amd64 x86" +LICENSE="GPL-3 LGPL-3" +SLOT="0" +IUSE="heap +icu +libuninum" + +RDEPEND="dev-libs/tre + icu? ( dev-libs/icu:= ) + !icu? ( dev-libs/libutf8proc:= ) + libuninum? ( dev-libs/libuninum:= )" + +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}/${P}-fix-icu-build.patch" + "${FILESDIR}/${P}-fix-missing-limits-header.patch" + "${FILESDIR}/${P}-fix-segfault-on-certain-input.patch" + "${FILESDIR}/${P}-respect-users-cflags.patch" + ) + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + local myeconfargs=( + $(use_enable !heap allocaok) + $(use_enable !icu utf8proc) + $(use_enable libuninum uninum) + --disable-debugbuild + ) + + econf "${myeconfargs[@]}" +} |