diff options
author | Maciej Barć <xgqt@gentoo.org> | 2024-01-30 01:14:54 +0100 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2024-01-30 01:27:34 +0100 |
commit | bf1e389a2632e668c3ffdcd8092609aab6b72e9b (patch) | |
tree | d724eb42ba51615d6f18c55d73f356fe7cb489d7 /dev-lang | |
parent | sys-kernel/linux-firmware: drop 20231111-r1 (diff) | |
download | gentoo-bf1e389a2632e668c3ffdcd8092609aab6b72e9b.tar.gz gentoo-bf1e389a2632e668c3ffdcd8092609aab6b72e9b.tar.bz2 gentoo-bf1e389a2632e668c3ffdcd8092609aab6b72e9b.zip |
dev-lang/oorexx: new package; add 5.0.0
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/oorexx/Manifest | 1 | ||||
-rw-r--r-- | dev-lang/oorexx/files/oorexx-5.0.0-man.patch | 21 | ||||
-rw-r--r-- | dev-lang/oorexx/metadata.xml | 20 | ||||
-rw-r--r-- | dev-lang/oorexx/oorexx-5.0.0.ebuild | 37 |
4 files changed, 79 insertions, 0 deletions
diff --git a/dev-lang/oorexx/Manifest b/dev-lang/oorexx/Manifest new file mode 100644 index 000000000000..9baf8267b212 --- /dev/null +++ b/dev-lang/oorexx/Manifest @@ -0,0 +1 @@ +DIST oorexx-5.0.0-12583.tar.gz 6398458 BLAKE2B 3df1eb024eae75f9c29bd46a7c9e0c8fffecf54545e5926f872b6757f0cba56530c4b457e94ec44debbd98e514e1043ba751384dc0f1dabb4812aa52da4381e0 SHA512 141af22e0a99731d50492940d5db55cc59099e5a7fa8acba918d1ae82bcd6e2983fb0ca71bbbf044cc4fc89e740c8a0ac81237eea5812d7a570f825bba5d08b9 diff --git a/dev-lang/oorexx/files/oorexx-5.0.0-man.patch b/dev-lang/oorexx/files/oorexx-5.0.0-man.patch new file mode 100644 index 000000000000..61679305cd49 --- /dev/null +++ b/dev-lang/oorexx/files/oorexx-5.0.0-man.patch @@ -0,0 +1,21 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1791,13 +1791,13 @@ install(PROGRAMS ${CMAKE_SAMPLES_OUTPUT_DIRECTORY}/rexxcps.rex COMPONENT Samples + + if (NOT WIN32) + macro (add_manpage name cat) +- add_custom_command(OUTPUT ${name}.${cat}.gz +- COMMAND gzip -c ++ add_custom_command(OUTPUT ${name}.${cat} ++ COMMAND cp + ${CMAKE_CURRENT_SOURCE_DIR}/${build_platform_dir}/${name}.${cat} +- > ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${name}.${cat}.gz ++ ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${name}.${cat} + DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${build_platform_dir}/${name}.${cat}) +- add_custom_target(${name}_man ALL DEPENDS ${name}.${cat}.gz) +- install(FILES ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${name}.${cat}.gz ++ add_custom_target(${name}_man ALL DEPENDS ${name}.${cat}) ++ install(FILES ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${name}.${cat} + DESTINATION ${INSTALL_MAN_DIR}/man${cat} + PERMISSIONS OWNER_READ GROUP_READ WORLD_READ OWNER_WRITE) + endmacro (add_manpage) diff --git a/dev-lang/oorexx/metadata.xml b/dev-lang/oorexx/metadata.xml new file mode 100644 index 000000000000..0f076930b212 --- /dev/null +++ b/dev-lang/oorexx/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> + +<pkgmetadata> + <maintainer type="person"> + <email>xgqt@gentoo.org</email> + <name>Maciej Barć</name> + </maintainer> + <longdescription> + Open Object Rexx (ooRexx) is an Open Source project managed by Rexx + Language Association (RexxLA) providing a free implementation of Object + Rexx. ooRexx is distributed under Common Public License (CPL) v1.0. Object + Rexx is an enhancement of classic Rexx; a powerful, full-featured + programming language which has a human-oriented syntax. + </longdescription> + <upstream> + <bugs-to>https://sourceforge.net/p/oorexx/bugs/</bugs-to> + <remote-id type="sourceforge">oorexx</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-lang/oorexx/oorexx-5.0.0.ebuild b/dev-lang/oorexx/oorexx-5.0.0.ebuild new file mode 100644 index 000000000000..51c81bc9f4f2 --- /dev/null +++ b/dev-lang/oorexx/oorexx-5.0.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +APP_REVISION=12583 + +inherit cmake + +DESCRIPTION="Open source implementation of Object Rexx" +HOMEPAGE="https://www.oorexx.org/about.html + https://sourceforge.net/projects/oorexx/" +SRC_URI="https://sourceforge.net/projects/${PN}/files/${PN}/${PV}/${P}-${APP_REVISION}.tar.gz" +S="${WORKDIR}/${P}" + +LICENSE="CPL-1.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + sys-libs/ncurses:= + virtual/libcrypt:= +" +DEPEND=" + ${RDEPEND} +" + +PATCHES=( "${FILESDIR}/${PN}-5.0.0-man.patch" ) + +src_unpack() { + default + + # HACK: Dance around cmake.eclass S directory requirements. + mv "${WORKDIR}" "${T}/${P}" || die + mkdir -p "${WORKDIR}" || die + mv "${T}/${P}" "${S}" || die +} |