commit:     efe2f748b658164a3b9ca0dd32ea2c70ee6048c2
Author:     Conrad Kostecki <ck+gentoo <AT> bl4ckb0x <DOT> de>
AuthorDate: Thu Mar 22 23:43:26 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Mar 23 08:24:39 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efe2f748

dev-util/statifier: added new ebuild

Closes: https://bugs.gentoo.org/649522
Closes: https://github.com/gentoo/gentoo/pull/7349

 dev-util/statifier/Manifest               |  1 +
 dev-util/statifier/metadata.xml           | 12 +++++++++
 dev-util/statifier/statifier-1.7.4.ebuild | 44 +++++++++++++++++++++++++++++++
 3 files changed, 57 insertions(+)

diff --git a/dev-util/statifier/Manifest b/dev-util/statifier/Manifest
new file mode 100644
index 00000000000..b27b88532ec
--- /dev/null
+++ b/dev-util/statifier/Manifest
@@ -0,0 +1 @@
+DIST statifier-1.7.4.tar.gz 73245 BLAKE2B 
897b78b31aa4f148b6a6a986251ba9d4f40ebad3209f71896ffffb71e06ab25d337a4a79adc0217592051f917bc71428d3032f6216ec053f62c4632edef474d5
 SHA512 
22d4873130bafe06144c8f6ce7089aa25e3eb047bbee5709344fee1e8d85b24aac689c88d34537fe4a690e231d768e56a2fa13672b9eccf27d945b3f8bcda756

diff --git a/dev-util/statifier/metadata.xml b/dev-util/statifier/metadata.xml
new file mode 100644
index 00000000000..54d5423c406
--- /dev/null
+++ b/dev-util/statifier/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Conrad Kostecki</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>[email protected]</email>
+               <name>Proxy Maintainers</name>
+       </maintainer>
+</pkgmetadata>

diff --git a/dev-util/statifier/statifier-1.7.4.ebuild 
b/dev-util/statifier/statifier-1.7.4.ebuild
new file mode 100644
index 00000000000..2e2867cd1b9
--- /dev/null
+++ b/dev-util/statifier/statifier-1.7.4.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+DESCRIPTION="Statifier is a tool for creating portable, self-containing Linux 
executables"
+HOMEPAGE="http://statifier.sourceforge.net";
+SRC_URI="https://sourceforge.net/projects/${PN}/files/${PN}/${PV}/${P}.tar.gz";
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+LICENSE="GPL-2"
+IUSE=""
+
+RDEPEND="app-shells/bash
+       sys-apps/coreutils
+       virtual/awk"
+
+src_prepare() {
+       # Respect users CFLAGS and LDFLAGS
+       sed -i -e 's/-Wall -O2/$(CFLAGS) $(LDFLAGS)/g' src/Makefile || die
+
+       # Apply user patches
+       eapply_user
+}
+
+src_configure() {
+       # Fix permissions, as configure is not marked executable
+       chmod +x configure || die
+       econf
+}
+
+src_compile() {
+       # Package complains with MAKEOPTS > -j1
+       emake -j1
+}
+
+src_install() {
+       # Package complains with MAKEOPTS > -j1
+       emake -j1 DESTDIR="${D}" install
+
+       # Install docs
+       einstalldocs
+}

Reply via email to