public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: dev-util/rexxd/
@ 2025-03-09 19:30 Nickolas Raymond Kaczynski
  0 siblings, 0 replies; only message in thread
From: Nickolas Raymond Kaczynski @ 2025-03-09 19:30 UTC (permalink / raw
  To: gentoo-commits

commit:     71801d19f8bcd577a47219b82edbda6bd675c0ce
Author:     NRK <nrk <AT> disroot <DOT> org>
AuthorDate: Sun Mar  9 19:21:01 2025 +0000
Commit:     Nickolas Raymond Kaczynski <nrk <AT> disroot <DOT> org>
CommitDate: Sun Mar  9 19:27:12 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=71801d19

dev-util/rexxd: add new package

Signed-off-by: NRK <nrk <AT> disroot.org>

 dev-util/rexxd/Manifest                |  1 +
 dev-util/rexxd/metadata.xml            |  7 +++++++
 dev-util/rexxd/rexxd-2025.02.17.ebuild | 37 ++++++++++++++++++++++++++++++++++
 3 files changed, 45 insertions(+)

diff --git a/dev-util/rexxd/Manifest b/dev-util/rexxd/Manifest
new file mode 100644
index 000000000..3253bedbc
--- /dev/null
+++ b/dev-util/rexxd/Manifest
@@ -0,0 +1 @@
+DIST rexxd-2025.02.17.c 81204 BLAKE2B 05347fc0d08a064ce80e200f561296bb351e7cba832ed6bafd173b73cf8334f7672c7f44027758ecfd636b519a48dd8971463e0e9816b3a3b2cb10e5f376887d SHA512 7d4f70436438d6d43930e17609ea4558ef826ba8cb1a8c598c3fc721a4649cdd8df59ac5da2d99c5354945bb7c3f02c7cb80aed0bd7fb3c6fbde4a1caf0eac57

diff --git a/dev-util/rexxd/metadata.xml b/dev-util/rexxd/metadata.xml
new file mode 100644
index 000000000..db24a3bdd
--- /dev/null
+++ b/dev-util/rexxd/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>nrk@disroot.org</email>
+	</maintainer>
+</pkgmetadata>

diff --git a/dev-util/rexxd/rexxd-2025.02.17.ebuild b/dev-util/rexxd/rexxd-2025.02.17.ebuild
new file mode 100644
index 000000000..463319536
--- /dev/null
+++ b/dev-util/rexxd/rexxd-2025.02.17.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit edo flag-o-matic toolchain-funcs
+
+DESCRIPTION="Drop-in replacement for the original xxd"
+HOMEPAGE="https://github.com/skeeto/w64devkit/blob/master/src/rexxd.c"
+
+COMMIT="b217f139b86096c7864fc50f727d0ce81e4831d0"
+SRC_URI="https://github.com/skeeto/w64devkit/raw/${COMMIT}/src/rexxd.c -> ${P}.c"
+S="${WORKDIR}"
+LICENSE="Unlicense"
+KEYWORDS="~amd64 ~x86"
+
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+src_unpack() {
+	cp "${DISTDIR}/${P}.c" rexxd.c || die "cp failed"
+}
+
+src_compile() {
+	append-cflags -D_FILE_OFFSET_BITS=64
+	edo $(tc-getCC) ${CFLAGS} -o rexxd rexxd.c ${LDFLAGS}
+	use test && edo $(tc-getCC) ${CFLAGS} -DTEST -o tests rexxd.c ${LDFLAGS}
+}
+
+src_install() {
+	dobin rexxd
+}
+
+src_test() {
+	edo ./tests
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2025-03-09 19:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-09 19:30 [gentoo-commits] repo/proj/guru:dev commit in: dev-util/rexxd/ Nickolas Raymond Kaczynski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox