diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-04-06 22:33:41 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-04-06 22:33:41 +0100 |
commit | e68d405c5d712af4387159df07e226217bdda049 (patch) | |
tree | 009ab0f3d427f0813e62930d71802cb054c07e30 /dev-util/shc | |
parent | 401101f9c8077911929d3f2b60a37098460a5d89 (diff) |
gentoo resync : 06.04.2022
Diffstat (limited to 'dev-util/shc')
-rw-r--r-- | dev-util/shc/Manifest | 2 | ||||
-rw-r--r-- | dev-util/shc/shc-4.0.3.ebuild | 44 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-util/shc/Manifest b/dev-util/shc/Manifest index 3d29442c7681..41c32034682b 100644 --- a/dev-util/shc/Manifest +++ b/dev-util/shc/Manifest @@ -1,3 +1,5 @@ DIST shc-3.9.6.tar.gz 122644 BLAKE2B bef9993f49ffc7a1119862c8bd4b520a6122505493a59269218c6d46a0780e0788d3c9acc3975e642f9ea0bfd5a3907f0c1ff54bbc20c01fc630b2da096fc479 SHA512 dbda4af6740a8a719976d7260133ab3d92552ea08416e2b1ec4815e83349507ed68eb1e52a78b34e2c129dd40eafcce84ef7bf0d97d28073ee3af4598f804ed2 +DIST shc-4.0.3.tar.gz 124246 BLAKE2B 1f3046cc3955c979ef585567f4e0e0016a0b96c9032fe8fd93072c2cfd8031b9de4095627d2b7c571f79c9656181269fff81a4d2d3ff6fdc3c40f00708c8b764 SHA512 78fbab26c652b3c3a41401e044ae69776fbdf5d28736c55bcf111f4261f863f6d97d81e87ad9288faf9c9a3299c1453dcca9ffd9d9ea04a1ff2b7299257e8cf7 EBUILD shc-3.9.6.ebuild 447 BLAKE2B 88a8ae951eef23d2fb06af65f11cd910e8d5f8dd568229406685a92a26efeb29ee702088fdde80857fb26dcf6ef0033e195b5fb45da4cbe935277b9e52f76b60 SHA512 ee96f953217b9511da6932c964ff72e2f1a3282ec5d2453dd427fbd849f03cd2191be68d5049ba66cfe91ec0b1888b3c91a7bbcc40551a9f66d11f6474c33fab +EBUILD shc-4.0.3.ebuild 898 BLAKE2B edf9d9e8a114afac8258fbd5e6188856f7ebe48c348f1fc594996f553d5672f43e1ac714b9f336ecaaf145ece7c43936865579974616d842468aba7ea8fcc931 SHA512 738c6cafbe5a7bcf58c034468882d2badb79aa4ddc80281ee06dbbd4b7cfd12b56f402dedb991918c413c6d1995beb36b05af7cc4788024848b10ad2dae64588 MISC metadata.xml 342 BLAKE2B a39ff57591272c9a07a7e1353d174aa8552036623d8c0e9d49bf31cc5dac8156f8a52e8eceb07fb2b6f545a87ecce564b91efebba6c2109d97b81bd5d51bd2c4 SHA512 3f232d86cde3aa07aa460c3ace6b3cb86ed1a180b534543816021b9bed43930375e42e2259da95593ad7bb211592b41838386e5ba712a92ba035ca2bfd418e10 diff --git a/dev-util/shc/shc-4.0.3.ebuild b/dev-util/shc/shc-4.0.3.ebuild new file mode 100644 index 000000000000..54e8330f0f8b --- /dev/null +++ b/dev-util/shc/shc-4.0.3.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="A (shell-) script compiler/scrambler" +HOMEPAGE="https://neurobin.org/projects/softwares/unix/shc/" +SRC_URI="https://github.com/neurobin/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" + +IUSE="test" + +DEPEND="test? ( + app-shells/bash:0 + app-shells/dash + app-shells/ksh + app-shells/tcsh + app-shells/zsh +)" +RDEPEND="" + +RESTRICT="!test? ( test )" + +src_prepare() { + # ash requires sys-apps/busybox[make-symlinks], so exclude it too + # Exclude app-shells/rc from tests + # Fix path for app-shells/tcsh + sed -i \ + -e "s:'/bin/ash'::" \ + -e "s:'/usr/bin/rc'::" \ + -e "s:/usr/bin/tcsh:/bin/tcsh:" \ + test/ttest.sh || die + + default +} + +src_install() { + dobin src/shc + doman shc.1 + dodoc ChangeLog README.md +} |