dev-util/rexxd - 2025.02.17 (guru)

Search

Install

Install this version:

emerge -a =dev-util/rexxd-2025.02.17

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-util/rexxd-2025.02.17

Or alternatively:

emerge --autounmask-write -a =dev-util/rexxd-2025.02.17

Package Information

Description:
Drop-in replacement for the original xxd
Homepage:
https://github.com/skeeto/w64devkit/blob/master/src/rexxd.c
License:
Unlicense

Ebuild Details

Version EAPI Keywords Slot
2025.02.17 8 ~amd64 ~x86 0
View Raw Ebuild
# 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
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-util/rexxd | euse -E <flag> -p dev-util/rexxd | euse -D <flag> -p dev-util/rexxd

Global/Standard Flags

Inherited Eclasses

edo

Manifest for 2025.02.17

Type File Size Source URLs
DIST rexxd-2025.02.17.c 81204 bytes https://github.com/skeeto/w64devkit/raw/b217f139b86096c7864fc50f727d0ce81e4831d0/src/rexxd.c