From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- dev-util/objconv/Manifest | 1 + dev-util/objconv/metadata.xml | 8 +++++ dev-util/objconv/objconv-2.32_pre20131127.ebuild | 46 ++++++++++++++++++++++++ 3 files changed, 55 insertions(+) create mode 100644 dev-util/objconv/Manifest create mode 100644 dev-util/objconv/metadata.xml create mode 100644 dev-util/objconv/objconv-2.32_pre20131127.ebuild (limited to 'dev-util/objconv') diff --git a/dev-util/objconv/Manifest b/dev-util/objconv/Manifest new file mode 100644 index 000000000000..4c349aa93ede --- /dev/null +++ b/dev-util/objconv/Manifest @@ -0,0 +1 @@ +DIST objconv-2.32_pre20131127.zip 814334 SHA256 e0ed4a795ce46eadbf724b072e7f1e2b4c37a8a85f94a44ee9da94ed85ac12f2 SHA512 9be8f6e7f33794ade3340604508a996139c3f7a3a620efc634919e20ad29c5510b25a88df469769862d969375eefaed39c4e200b1ef25d9eff8abb1936027f7b WHIRLPOOL 6abe704f9f8f9864f7321d5abe5d3caabda364c744d6918d9f0c84fbc4dc7d0294262fef350cc9f4463a827d88bd76e8fababecda9a414d9252a15732c6a040e diff --git a/dev-util/objconv/metadata.xml b/dev-util/objconv/metadata.xml new file mode 100644 index 000000000000..49bf44dac71e --- /dev/null +++ b/dev-util/objconv/metadata.xml @@ -0,0 +1,8 @@ + + + + + slyfox@gentoo.org + Sergei Trofimovich + + diff --git a/dev-util/objconv/objconv-2.32_pre20131127.ebuild b/dev-util/objconv/objconv-2.32_pre20131127.ebuild new file mode 100644 index 000000000000..25dd51c035e8 --- /dev/null +++ b/dev-util/objconv/objconv-2.32_pre20131127.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2014 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="http://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) -o \$@ \$^ \$(LDFLAGS)" + } > Makefile || die + + tc-export CXX +} + +src_install() { + dobin objconv + dodoc ../objconv-instructions.pdf +} -- cgit v1.2.3-65-gdbad