diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-07-17 19:04:28 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-07-17 19:04:28 +0100 |
commit | 514d1bbe260df2521fe60f1a3ec87cfcfde1a829 (patch) | |
tree | 555c194dbeb0fb2ac4ad3cde7c0f6a80fd330ce2 /app-arch/makeself/makeself-2.4.5.ebuild | |
parent | 4df3bf9762850b34cd1ead5c80374d1a0fc3362e (diff) |
gentoo resync : 17.07.2021
Diffstat (limited to 'app-arch/makeself/makeself-2.4.5.ebuild')
-rw-r--r-- | app-arch/makeself/makeself-2.4.5.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/app-arch/makeself/makeself-2.4.5.ebuild b/app-arch/makeself/makeself-2.4.5.ebuild new file mode 100644 index 000000000000..6e66645515bd --- /dev/null +++ b/app-arch/makeself/makeself-2.4.5.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit optfeature + +DESCRIPTION="Shell script that generates a self-extractible tar.gz" +HOMEPAGE="https://makeself.io/" +SRC_URI="https://github.com/megastep/makeself/archive/refs/tags/release-${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~x86 ~amd64-linux ~x86-linux" + +# NB: The test framework requires bashunit (which isn't a big deal), but the +# tests themselves are not of great quality. You should avoid running them +# yourself as they like to run commands like gpg against your own ~/ settings. +RESTRICT="test" + +S="${WORKDIR}/${PN}-release-${PV}" + +src_compile() { :; } + +src_install() { + dobin makeself-header.sh makeself.sh + dosym makeself.sh /usr/bin/makeself + doman makeself.1 + dodoc README.md makeself.lsm +} + +pkg_postinst() { + optfeature "lz4 support" app-arch/lz4 + optfeature "lzop support" app-arch/lzop + optfeature "pbzip2 support" app-arch/pbzip2 + optfeature "pigz support" app-arch/pigz + optfeature "zstd support" app-arch/zstd + + # Also bzip2 and xz are supported but they are in @system. +} |