gentoo-ebuilds/dev-lang/oorexx/oorexx-5.1.0_beta12932.ebuild
Maciej Barć 1ac148b741
dev-lang/oorexx: bump cmake_minimum_required
Closes: https://bugs.gentoo.org/953855
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
2025-04-15 00:04:21 +02:00

49 lines
912 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake flag-o-matic
DESCRIPTION="Open source implementation of Object Rexx"
HOMEPAGE="https://www.oorexx.org/
https://sourceforge.net/projects/oorexx/"
if [[ "${PV}" == *_beta* ]] ; then
REL="beta"
else
REL=""
fi
REL_V="$(ver_cut 1-3)"
APP_P="${P/_beta/-}"
SRC_URI="https://downloads.sourceforge.net/project/${PN}/${PN}/${REL_V}${REL}/${APP_P}.tar.gz"
S="${WORKDIR}/${APP_P}"
LICENSE="CPL-1.0"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ppc64 ~riscv ~x86"
RDEPEND="
!dev-lang/regina-rexx
sys-libs/ncurses:=
virtual/libcrypt:=
"
DEPEND="
${RDEPEND}
"
PATCHES=(
"${FILESDIR}/oorexx-5.0.0-cmake_minimum_required.patch"
"${FILESDIR}/oorexx-5.0.0-man.patch"
)
src_configure() {
# bug 924171
if use elibc_musl ; then
append-cppflags -D_LARGEFILE64_SOURCE
fi
cmake_src_configure
}