diff --git a/dev-util/tinyxxd/metadata.xml b/dev-util/tinyxxd/metadata.xml index 97d65d2440..f5d22b49ec 100644 --- a/dev-util/tinyxxd/metadata.xml +++ b/dev-util/tinyxxd/metadata.xml @@ -5,13 +5,16 @@ ingenarelitems@gmail.com ingenarel - -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. - - - xyproto/tinyxxd - + + 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. + + + xyproto/tinyxxd + + + use it as a replacement for xxd + diff --git a/dev-util/tinyxxd/tinyxxd-1.3.7-r1.ebuild b/dev-util/tinyxxd/tinyxxd-1.3.7-r2.ebuild similarity index 79% rename from dev-util/tinyxxd/tinyxxd-1.3.7-r1.ebuild rename to dev-util/tinyxxd/tinyxxd-1.3.7-r2.ebuild index fc9f027847..f4b74e9117 100644 --- a/dev-util/tinyxxd/tinyxxd-1.3.7-r1.ebuild +++ b/dev-util/tinyxxd/tinyxxd-1.3.7-r2.ebuild @@ -13,12 +13,17 @@ else KEYWORDS="~amd64" fi -RDEPEND="!dev-util/xxd" - LICENSE="GPL-2" + SLOT="0" +IUSE="xxd" + +RDEPEND="xxd? ( !dev-util/xxd !app-editors/vim-core )" + src_install(){ default - dosym /usr/bin/tinyxxd /usr/bin/xxd + if use xxd; then + dosym -r /usr/bin/tinyxxd /usr/bin/xxd + fi } diff --git a/dev-util/tinyxxd/tinyxxd-9999.ebuild b/dev-util/tinyxxd/tinyxxd-9999.ebuild index fc9f027847..f4b74e9117 100644 --- a/dev-util/tinyxxd/tinyxxd-9999.ebuild +++ b/dev-util/tinyxxd/tinyxxd-9999.ebuild @@ -13,12 +13,17 @@ else KEYWORDS="~amd64" fi -RDEPEND="!dev-util/xxd" - LICENSE="GPL-2" + SLOT="0" +IUSE="xxd" + +RDEPEND="xxd? ( !dev-util/xxd !app-editors/vim-core )" + src_install(){ default - dosym /usr/bin/tinyxxd /usr/bin/xxd + if use xxd; then + dosym -r /usr/bin/tinyxxd /usr/bin/xxd + fi }