diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-util/shc | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-util/shc')
-rw-r--r-- | dev-util/shc/Manifest | 3 | ||||
-rw-r--r-- | dev-util/shc/metadata.xml | 11 | ||||
-rw-r--r-- | dev-util/shc/shc-3.8.9.ebuild | 37 |
3 files changed, 51 insertions, 0 deletions
diff --git a/dev-util/shc/Manifest b/dev-util/shc/Manifest new file mode 100644 index 000000000000..b83bf6222490 --- /dev/null +++ b/dev-util/shc/Manifest @@ -0,0 +1,3 @@ +DIST shc-3.8.9.tgz 20536 BLAKE2B 68f2c18f79e28bcbf5116428ec16a4b6eceffba686aaf3e9075f14a77793831bbb9c80c7f44a849f152eb164000956a383343d4dc8b49fc8cf68758aa9a4d27e SHA512 e8a4f9b0ef6e90fc99ebeeb0af36b89d1020209429c9651a036ab1f51a293d9faa3b775b7f040e91997b6ff5a487cb45943fc3548fa6fa3e7282e0d6f74d2cd4 +EBUILD shc-3.8.9.ebuild 825 BLAKE2B 035a2082aed05a8a71d901f914b6aa84ec4d0cfa93659a51c0b85f6e52e60ae6323a469b2b53ebb73ec322dffc041fccd5e00f80e9de772d99fdb481f0ca7f68 SHA512 048acb29321004230fb3da0713b4879d1c672633fe45212cef21ab72e3a9d9b55e2444449e1a25a333134f185b05641ea2393a475cef3b403666b7086c83168f +MISC metadata.xml 341 BLAKE2B 9e21bf4fde239181d0dca080e08667fcf098398ea5f89b5e3b2fb27d3797eea6ef792f81b159a25c891c831dda165858172b11f1932469262117c12c155731eb SHA512 f5b2c355996851ad7c34e40f762e636295581148806b5a6129e79d39c564dcd16a8281b289598204048ca53c30b3f5efdea7f393e6ac47008d9a8af9bb54fe2b diff --git a/dev-util/shc/metadata.xml b/dev-util/shc/metadata.xml new file mode 100644 index 000000000000..e057d190bf73 --- /dev/null +++ b/dev-util/shc/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>pinkbyte@gentoo.org</email> + <name>Sergey Popov</name> +</maintainer> +<upstream> + <changelog>http://www.datsi.fi.upm.es/~frosal/sources/CHANGES</changelog> +</upstream> +</pkgmetadata> diff --git a/dev-util/shc/shc-3.8.9.ebuild b/dev-util/shc/shc-3.8.9.ebuild new file mode 100644 index 000000000000..78178e4f1ae1 --- /dev/null +++ b/dev-util/shc/shc-3.8.9.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +inherit toolchain-funcs + +DESCRIPTION="A (shell-) script compiler/scrambler" +HOMEPAGE="http://www.datsi.fi.upm.es/~frosal" +SRC_URI="http://www.datsi.fi.upm.es/~frosal/sources/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ppc ~sparc x86" +IUSE="" + +RESTRICT="test" + +src_prepare() { + # respect LDFLAGS + sed -i makefile -e 's:$(CC) $(CFLAGS):& $(LDFLAGS):' || die + # fix source file name wrt bug #433970 + mv {${P},${PN}}.c || die +} + +src_compile() { + ## the "test"-target leads to an access-violation -> so we skip it + ## as it's only for demonstration purposes anyway. + emake CC=$(tc-getCC) CFLAGS="${CFLAGS}" shc +} + +src_install() { + dobin shc + doman shc.1 + newdoc shc.README README + dodoc CHANGES +} |