From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 1C91259CAF for ; Sun, 3 Apr 2016 07:38:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 36F2621C013; Sun, 3 Apr 2016 07:38:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B03BF21C013 for ; Sun, 3 Apr 2016 07:38:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1F6CB3409ED for ; Sun, 3 Apr 2016 07:38:51 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 596F882 for ; Sun, 3 Apr 2016 07:38:49 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1459669120.272b3d107bd53100e402d9ad2f589805024a3ae6.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/objconv/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/objconv/Manifest dev-util/objconv/objconv-2.42.ebuild X-VCS-Directories: dev-util/objconv/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: 272b3d107bd53100e402d9ad2f589805024a3ae6 X-VCS-Branch: master Date: Sun, 3 Apr 2016 07:38:49 +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-Archives-Salt: 7ae7866c-180a-4fcc-a8c5-fffd82b4ce7a X-Archives-Hash: c5f9ea3b25d13f798a8fa267f641ff39 commit: 272b3d107bd53100e402d9ad2f589805024a3ae6 Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Apr 3 07:38:29 2016 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Apr 3 07:38:40 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=272b3d10 dev-util/objconv: bump up to 2.42 Package-Manager: portage-2.2.28 dev-util/objconv/Manifest | 1 + dev-util/objconv/objconv-2.42.ebuild | 46 ++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-util/objconv/Manifest b/dev-util/objconv/Manifest index 4c349aa..61d95f5 100644 --- a/dev-util/objconv/Manifest +++ b/dev-util/objconv/Manifest @@ -1 +1,2 @@ DIST objconv-2.32_pre20131127.zip 814334 SHA256 e0ed4a795ce46eadbf724b072e7f1e2b4c37a8a85f94a44ee9da94ed85ac12f2 SHA512 9be8f6e7f33794ade3340604508a996139c3f7a3a620efc634919e20ad29c5510b25a88df469769862d969375eefaed39c4e200b1ef25d9eff8abb1936027f7b WHIRLPOOL 6abe704f9f8f9864f7321d5abe5d3caabda364c744d6918d9f0c84fbc4dc7d0294262fef350cc9f4463a827d88bd76e8fababecda9a414d9252a15732c6a040e +DIST objconv-2.42.zip 1016499 SHA256 1aa3171a8f0ebba7902b413857b178df2b079cbc31bfb95b196ba7a685c227ba SHA512 9ccc49ddfe5a6d353c746917832419478335e73d1cb85762cad314f918532bd20844b9812e392d57789a4a6cb8764945a6b1894884b50d5486bdf635fe58d35f WHIRLPOOL 6db650b33f63ca2d39720352c4aa72e72a92c649f4073b10e32ce361e0194ed7f37663d8eceed3bc708abcd5bfe1f29756655af82292b081498e46251070b376 diff --git a/dev-util/objconv/objconv-2.42.ebuild b/dev-util/objconv/objconv-2.42.ebuild new file mode 100644 index 0000000..d9c1ec4 --- /dev/null +++ b/dev-util/objconv/objconv-2.42.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit toolchain-funcs unpacker + +DESCRIPTION="object code file converted (COFF, ELF, OMF, MACHO)" +HOMEPAGE="http://agner.org/optimize/#objconv" +# original URL is "http://agner.org/optimize/objconv.zip", but it's unversioned. +# I copy those to distfiles time to time +SRC_URI="https://dev.gentoo.org/~slyfox/distfiles/${P}.zip" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="" +DEPEND="" + +S=${WORKDIR}/${P} + +src_unpack() { + unpacker_src_unpack + mkdir "${S}" || die + pushd "${S}" || die + unpack_zip ../source.zip +} + +src_prepare() { + # project has extremenly poor build system (see build.sh) + local sources=$(echo *.cpp) + + { + echo "objconv: ${sources//.cpp/.o}" + echo " \$(CXX) \$(CXXFLAGS) -o \$@ \$^ \$(LDFLAGS)" + } > Makefile || die + + tc-export CXX +} + +src_install() { + dobin objconv + dodoc ../objconv-instructions.pdf +}