Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/statifier/
Date: Fri, 23 Mar 2018 08:25:04
Message-Id: 1521793479.efe2f748b658164a3b9ca0dd32ea2c70ee6048c2.mgorny@gentoo
1 commit: efe2f748b658164a3b9ca0dd32ea2c70ee6048c2
2 Author: Conrad Kostecki <ck+gentoo <AT> bl4ckb0x <DOT> de>
3 AuthorDate: Thu Mar 22 23:43:26 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Mar 23 08:24:39 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efe2f748
7
8 dev-util/statifier: added new ebuild
9
10 Closes: https://bugs.gentoo.org/649522
11 Closes: https://github.com/gentoo/gentoo/pull/7349
12
13 dev-util/statifier/Manifest | 1 +
14 dev-util/statifier/metadata.xml | 12 +++++++++
15 dev-util/statifier/statifier-1.7.4.ebuild | 44 +++++++++++++++++++++++++++++++
16 3 files changed, 57 insertions(+)
17
18 diff --git a/dev-util/statifier/Manifest b/dev-util/statifier/Manifest
19 new file mode 100644
20 index 00000000000..b27b88532ec
21 --- /dev/null
22 +++ b/dev-util/statifier/Manifest
23 @@ -0,0 +1 @@
24 +DIST statifier-1.7.4.tar.gz 73245 BLAKE2B 897b78b31aa4f148b6a6a986251ba9d4f40ebad3209f71896ffffb71e06ab25d337a4a79adc0217592051f917bc71428d3032f6216ec053f62c4632edef474d5 SHA512 22d4873130bafe06144c8f6ce7089aa25e3eb047bbee5709344fee1e8d85b24aac689c88d34537fe4a690e231d768e56a2fa13672b9eccf27d945b3f8bcda756
25
26 diff --git a/dev-util/statifier/metadata.xml b/dev-util/statifier/metadata.xml
27 new file mode 100644
28 index 00000000000..54d5423c406
29 --- /dev/null
30 +++ b/dev-util/statifier/metadata.xml
31 @@ -0,0 +1,12 @@
32 +<?xml version="1.0" encoding="UTF-8"?>
33 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
34 +<pkgmetadata>
35 + <maintainer type="person">
36 + <email>ck+gentoo@××××××××.de</email>
37 + <name>Conrad Kostecki</name>
38 + </maintainer>
39 + <maintainer type="project">
40 + <email>proxy-maint@g.o</email>
41 + <name>Proxy Maintainers</name>
42 + </maintainer>
43 +</pkgmetadata>
44
45 diff --git a/dev-util/statifier/statifier-1.7.4.ebuild b/dev-util/statifier/statifier-1.7.4.ebuild
46 new file mode 100644
47 index 00000000000..2e2867cd1b9
48 --- /dev/null
49 +++ b/dev-util/statifier/statifier-1.7.4.ebuild
50 @@ -0,0 +1,44 @@
51 +# Copyright 1999-2018 Gentoo Foundation
52 +# Distributed under the terms of the GNU General Public License v2
53 +
54 +EAPI="6"
55 +
56 +DESCRIPTION="Statifier is a tool for creating portable, self-containing Linux executables"
57 +HOMEPAGE="http://statifier.sourceforge.net"
58 +SRC_URI="https://sourceforge.net/projects/${PN}/files/${PN}/${PV}/${P}.tar.gz"
59 +
60 +KEYWORDS="~amd64 ~x86"
61 +SLOT="0"
62 +LICENSE="GPL-2"
63 +IUSE=""
64 +
65 +RDEPEND="app-shells/bash
66 + sys-apps/coreutils
67 + virtual/awk"
68 +
69 +src_prepare() {
70 + # Respect users CFLAGS and LDFLAGS
71 + sed -i -e 's/-Wall -O2/$(CFLAGS) $(LDFLAGS)/g' src/Makefile || die
72 +
73 + # Apply user patches
74 + eapply_user
75 +}
76 +
77 +src_configure() {
78 + # Fix permissions, as configure is not marked executable
79 + chmod +x configure || die
80 + econf
81 +}
82 +
83 +src_compile() {
84 + # Package complains with MAKEOPTS > -j1
85 + emake -j1
86 +}
87 +
88 +src_install() {
89 + # Package complains with MAKEOPTS > -j1
90 + emake -j1 DESTDIR="${D}" install
91 +
92 + # Install docs
93 + einstalldocs
94 +}