From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AA66A138359 for ; Sun, 9 Aug 2020 20:00:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C7E7CE08E0; Sun, 9 Aug 2020 20:00:39 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AD788E08E0 for ; Sun, 9 Aug 2020 20:00:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 62C0C34F494 for ; Sun, 9 Aug 2020 20:00:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 750A22CC for ; Sun, 9 Aug 2020 20:00:30 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1597003221.80602ed04b32152f6a047f4307ec13c433178c5a.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/statifier/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/statifier/statifier-1.7.4-r1.ebuild X-VCS-Directories: dev-util/statifier/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 80602ed04b32152f6a047f4307ec13c433178c5a X-VCS-Branch: master Date: Sun, 9 Aug 2020 20:00:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 89b03c81-8b22-4206-b0d1-ee8a85d01795 X-Archives-Hash: d55e50ae05298349d96cf8d9f572c57b commit: 80602ed04b32152f6a047f4307ec13c433178c5a Author: Conrad Kostecki gentoo org> AuthorDate: Sun Aug 9 17:11:29 2020 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Sun Aug 9 20:00:21 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80602ed0 dev-util/statifier: bump to EAPI=7 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Conrad Kostecki gentoo.org> dev-util/statifier/statifier-1.7.4-r1.ebuild | 57 ++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/dev-util/statifier/statifier-1.7.4-r1.ebuild b/dev-util/statifier/statifier-1.7.4-r1.ebuild new file mode 100644 index 00000000000..046c0699da9 --- /dev/null +++ b/dev-util/statifier/statifier-1.7.4-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MULTILIB_COMPAT=( abi_x86_{32,64} ) + +inherit multilib-build toolchain-funcs + +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" + +RDEPEND=" + app-shells/bash + sys-apps/coreutils + virtual/awk +" + +PATCHES=( + # Respect users CFLAGS and LDFLAGS + "${FILESDIR}"/${PN}-1.7.4-fix-build-system.patch +) + +src_prepare() { + default + + # Don't compile 32-bit on amd64 no-multilib profile + if ! use abi_x86_32; then + sed -i -e 's/ELF32 .*/ELF32 := no/g' configs/config.x86_64 || die + fi +} + +src_configure() { + tc-export CC + + # 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="${ED}" install + + # Install docs + einstalldocs +}