mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
dev-util/tinyxxd: new package, add 1.3.7, 9999
Signed-off-by: ingenarel <ingenarelitems@gmail.com>
This commit is contained in:
1
dev-util/tinyxxd/Manifest
Normal file
1
dev-util/tinyxxd/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST tinyxxd-1.3.7.tar.gz 44586 BLAKE2B 6781760f08961db21d3937756ae2bb9b929bd3e9a2e611924b6e6a77a40cbd71f39b4a105031aa864d1ecf7ef522bb9cacccaf52af9c485c00d6a960f57b0efc SHA512 fba98d3cff252bd451eb4e8938e241fe42ea64a632822c31828d37bf24a7d64e1e3ba14175f61beba6c965ce34de00964e645375a19082a2f41c7d1ca6a5d1ab
|
||||
17
dev-util/tinyxxd/metadata.xml
Normal file
17
dev-util/tinyxxd/metadata.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>ingenarelitems@gmail.com</email>
|
||||
<name>ingenarel</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
tinyxxd is a standalone fork of xxd, a slight modernization of the C code, a slight performance increase and a drop-in
|
||||
replacement for xxd. It contains the same logic and supports the exact same flags. tinyxxd can be useful in connection
|
||||
with building and packaging software, since it's a smaller dependency than ViM, only requires a C11 compiler and is
|
||||
slightly faster.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">xyproto/tinyxxd</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
22
dev-util/tinyxxd/tinyxxd-1.3.7.ebuild
Normal file
22
dev-util/tinyxxd/tinyxxd-1.3.7.ebuild
Normal file
@@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Drop-in replacement and standalone version of xxd"
|
||||
HOMEPAGE="https://github.com/xyproto/tinyxxd"
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/xyproto/tinyxxd.git"
|
||||
else
|
||||
SRC_URI="https://github.com/xyproto/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
src_install(){
|
||||
default
|
||||
dosym "$(which tinyxxd)" /usr/bin/xxd
|
||||
}
|
||||
22
dev-util/tinyxxd/tinyxxd-9999.ebuild
Normal file
22
dev-util/tinyxxd/tinyxxd-9999.ebuild
Normal file
@@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Drop-in replacement and standalone version of xxd"
|
||||
HOMEPAGE="https://github.com/xyproto/tinyxxd"
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/xyproto/tinyxxd.git"
|
||||
else
|
||||
SRC_URI="https://github.com/xyproto/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
src_install(){
|
||||
default
|
||||
dosym "$(which tinyxxd)" /usr/bin/xxd
|
||||
}
|
||||
Reference in New Issue
Block a user