summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2014-07-28 14:29:23 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2014-07-28 14:29:23 +0000
commit48e92eac022cdaa0cab018a0516e01f90720c5fc (patch)
treea9b047e70a1ef48b060870e1fa9a19d4bfdb8dac /dev-util
parentMention git-clone man page for URI syntax, bug #511636. (diff)
downloadhistorical-48e92eac022cdaa0cab018a0516e01f90720c5fc.tar.gz
historical-48e92eac022cdaa0cab018a0516e01f90720c5fc.tar.bz2
historical-48e92eac022cdaa0cab018a0516e01f90720c5fc.zip
Initial commit: a tool to convert between various binary file formats: ELF, COFF(PE), OMF, MACHO, disassembler and more! Based on Adam Penser's ebuild (bug #235980).
Package-Manager: portage-2.2.10/cvs/Linux x86_64 Manifest-Sign-Key: 0x611FF3AA
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/objconv/ChangeLog11
-rw-r--r--dev-util/objconv/Manifest14
-rw-r--r--dev-util/objconv/metadata.xml8
-rw-r--r--dev-util/objconv/objconv-2.32_pre20131127.ebuild46
4 files changed, 79 insertions, 0 deletions
diff --git a/dev-util/objconv/ChangeLog b/dev-util/objconv/ChangeLog
new file mode 100644
index 000000000000..195a6a7a713e
--- /dev/null
+++ b/dev-util/objconv/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-util/objconv
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/objconv/ChangeLog,v 1.1 2014/07/28 14:29:15 slyfox Exp $
+
+*objconv-2.32_pre20131127 (28 Jul 2014)
+
+ 28 Jul 2014; Sergei Trofimovich <slyfox@gentoo.org> +metadata.xml,
+ +objconv-2.32_pre20131127.ebuild:
+ Initial commit: a tool to convert between various binary file formats: ELF,
+ COFF(PE), OMF, MACHO, disassembler and more! Based on Adam Penser's ebuild
+ (bug #235980).
diff --git a/dev-util/objconv/Manifest b/dev-util/objconv/Manifest
new file mode 100644
index 000000000000..af19e902f59c
--- /dev/null
+++ b/dev-util/objconv/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST objconv-2.32_pre20131127.zip 814334 SHA256 e0ed4a795ce46eadbf724b072e7f1e2b4c37a8a85f94a44ee9da94ed85ac12f2 SHA512 9be8f6e7f33794ade3340604508a996139c3f7a3a620efc634919e20ad29c5510b25a88df469769862d969375eefaed39c4e200b1ef25d9eff8abb1936027f7b WHIRLPOOL 6abe704f9f8f9864f7321d5abe5d3caabda364c744d6918d9f0c84fbc4dc7d0294262fef350cc9f4463a827d88bd76e8fababecda9a414d9252a15732c6a040e
+EBUILD objconv-2.32_pre20131127.ebuild 1058 SHA256 9c2d4aad063630faad62edffc5bdf17d8df9b4349797322b7bbbd7cc85e5ffb0 SHA512 517faba7df72939e81671546730aecad84d337f16941738b02eefe9401d0cfa5b7fc9b3c3e1cfc1ea447977f76a23358e5685005a7307de6d0e5520236406122 WHIRLPOOL d345c59329f4f398ec891cc7c82fbc6f508a8058c40a0b5f1f024373053909f813bf9461c5875d1335999ae6f0fe1dc51f4e2442c903df5bfb9421b613d02388
+MISC ChangeLog 523 SHA256 b7cfbb6fa7bfbf626d38d4e5d483ee6c6ffca5f8396582bfbc9c614f45b18870 SHA512 96ee986a9d0aa1bbbcbb82552e87a8c6f9683bfe6b24b9cd66740c28edfd827120f4b1d5b1d30a394de7cb15f4fcf16aaf415fa3e3c570375c21d56c11497a57 WHIRLPOOL 8a7352a3b86cd5134dab27c3dc31b2030a4643a0c53ef4fc5ca9a50433bdf28c1e298ce45ef8a751771a4def29f6ac0e5544f3080efa07c6c7901bb0a26169bc
+MISC metadata.xml 237 SHA256 2b89503ef7eb0fe873f9dc287d4d70ed04af1e59256a89f0e098898fcc9191ad SHA512 232a3a5193605792a8ffc9aa2ae02f47f4133501c7cc299aba6b90aa20019008255b6d92da29823bdde50edd3b94e85a35dd3d8add5519a9cc939f097f90c836 WHIRLPOOL 784eff12fa58c8110a2a211488c053f6f78021a0c908bdfe44331688565b25f31685edeb2475a53128aa9bdd4ba8b61e9e621d87c3f96462ebdf8657c942cd16
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.22 (GNU/Linux)
+
+iEYEAREIAAYFAlPWXjEACgkQcaHudmEf86rXKgCdFcvKRAwKcmHyb4l5W0xk4xRH
+bUcAnjzby0IDsYGwuM0ILtBDM35hPovA
+=zcBH
+-----END PGP SIGNATURE-----
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>slyfox@gentoo.org</email>
+ <name>Sergei Trofimovich</name>
+ </maintainer>
+</pkgmetadata>
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..76ff50d2ba3d
--- /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
+# $Header: /var/cvsroot/gentoo-x86/dev-util/objconv/objconv-2.32_pre20131127.ebuild,v 1.1 2014/07/28 14:29:15 slyfox Exp $
+
+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
+}