Gentoo Archives: gentoo-commits

From: Matthew Smith <matthew@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/makeself/
Date: Sun, 19 Mar 2023 08:50:52
Message-Id: 1679215527.4cce464fac445134290404175b6326fb049cc0e9.matthew@gentoo
1 commit: 4cce464fac445134290404175b6326fb049cc0e9
2 Author: Matthew Smith <matthew <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 19 08:45:27 2023 +0000
4 Commit: Matthew Smith <matthew <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 19 08:45:27 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cce464f
7
8 app-arch/makeself: add 2.5.0
9
10 Signed-off-by: Matthew Smith <matthew <AT> gentoo.org>
11
12 app-arch/makeself/Manifest | 1 +
13 app-arch/makeself/makeself-2.5.0.ebuild | 41 +++++++++++++++++++++++++++++++++
14 2 files changed, 42 insertions(+)
15
16 diff --git a/app-arch/makeself/Manifest b/app-arch/makeself/Manifest
17 index 4c489fab56ef..b4929442c908 100644
18 --- a/app-arch/makeself/Manifest
19 +++ b/app-arch/makeself/Manifest
20 @@ -1 +1,2 @@
21 DIST makeself-2.4.5.tar.gz 39012 BLAKE2B f79cf1c087e89c4fd09f328fb795a3f8a78ee38060dbbd1590e3dcdf22a346b0c12bf6837d1636efadb2a66f6a762308de7ee9dd2fc62a7c88d417d257c5f0f6 SHA512 1dae74586f6bd5afb526801b7ffa7fc7962ff74b0f190cdd51da93c21421864b72f5fe18090cb2ff6ad27f0907fbf3aeb5545f3f70e33dbc9e505a78505f5f90
22 +DIST makeself-2.5.0.tar.gz 43996 BLAKE2B 60e5b7a55bd03e45d25753600ddb4e0e15f05eabc95db18f1a9da10308d018bb913ba1e8bc264c3bd828c3d229aca34fae4ab1682bf6cf59c591a6fdef186061 SHA512 cd0ce98579f00a02f9559848b39e0a6efea9df1866073d419f0b6560034cc186ed8315f8b4589e03f626b040727d9ae646bc2abaebe4f4da556b87617bdd770f
23
24 diff --git a/app-arch/makeself/makeself-2.5.0.ebuild b/app-arch/makeself/makeself-2.5.0.ebuild
25 new file mode 100644
26 index 000000000000..adf02e657005
27 --- /dev/null
28 +++ b/app-arch/makeself/makeself-2.5.0.ebuild
29 @@ -0,0 +1,41 @@
30 +# Copyright 1999-2023 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +inherit optfeature
36 +
37 +DESCRIPTION="Shell script that generates a self-extractible tar.gz"
38 +HOMEPAGE="https://makeself.io/"
39 +SRC_URI="https://github.com/megastep/makeself/archive/refs/tags/release-${PV}.tar.gz -> ${P}.tar.gz"
40 +
41 +LICENSE="GPL-2+"
42 +SLOT="0"
43 +KEYWORDS="~amd64 ~hppa ~ppc ~x86 ~amd64-linux ~x86-linux"
44 +
45 +# NB: The test framework requires bashunit (which isn't a big deal), but the
46 +# tests themselves are not of great quality. You should avoid running them
47 +# yourself as they like to run commands like gpg against your own ~/ settings.
48 +RESTRICT="test"
49 +
50 +S="${WORKDIR}/${PN}-release-${PV}"
51 +
52 +src_compile() { :; }
53 +
54 +src_install() {
55 + dobin makeself-header.sh makeself.sh
56 + dosym makeself.sh /usr/bin/makeself
57 + doman makeself.1
58 + dodoc README.md
59 +}
60 +
61 +pkg_postinst() {
62 + optfeature "bzip3 support" app-arch/bzip3
63 + optfeature "lz4 support" app-arch/lz4
64 + optfeature "lzop support" app-arch/lzop
65 + optfeature "pbzip2 support" app-arch/pbzip2
66 + optfeature "pigz support" app-arch/pigz
67 + optfeature "zstd support" app-arch/zstd
68 +
69 + # Also bzip2 and xz are supported but they are in @system.
70 +}