summaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2015-10-11 01:10:22 +0000
committerryoon <ryoon@pkgsrc.org>2015-10-11 01:10:22 +0000
commitec642810f0cfb76b93d7475101793850aaa39a7d (patch)
treed61e8665cf31fa0bfce9ce98c6d1237dfbead1f6 /cross
parent8fa57da39d7291adef200ff1e55a18fcb237e0e8 (diff)
downloadpkgsrc-ec642810f0cfb76b93d7475101793850aaa39a7d.tar.gz
Import objconv-2.39 as cross/objconv.
Object file converter This utility can be used for converting object files between COFF/PE, OMF, ELF and Mach-O formats for all 32-bit and 64-bit x86 platforms. Can modify symbol names in object files. Can build, modify and convert function libraries across platforms. Can dump object files and executable files. Also includes a very good disassembler supporting the SSE4, AVX, AVX2, AVX512, FMA3, FMA4, XOP and Knights Corner instruction sets. Source code included (GPL).
Diffstat (limited to 'cross')
-rw-r--r--cross/objconv/DESCR9
-rw-r--r--cross/objconv/Makefile33
-rw-r--r--cross/objconv/PLIST2
-rw-r--r--cross/objconv/distinfo5
4 files changed, 49 insertions, 0 deletions
diff --git a/cross/objconv/DESCR b/cross/objconv/DESCR
new file mode 100644
index 00000000000..7f7e5930724
--- /dev/null
+++ b/cross/objconv/DESCR
@@ -0,0 +1,9 @@
+Object file converter
+
+This utility can be used for converting object files between COFF/PE,
+OMF, ELF and Mach-O formats for all 32-bit and 64-bit x86 platforms.
+Can modify symbol names in object files. Can build, modify and
+convert function libraries across platforms. Can dump object files
+and executable files. Also includes a very good disassembler
+supporting the SSE4, AVX, AVX2, AVX512, FMA3, FMA4, XOP and Knights
+Corner instruction sets. Source code included (GPL).
diff --git a/cross/objconv/Makefile b/cross/objconv/Makefile
new file mode 100644
index 00000000000..77dffe15a7c
--- /dev/null
+++ b/cross/objconv/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1 2015/10/11 01:10:22 ryoon Exp $
+
+DISTNAME= objconv
+PKGNAME= ${DISTNAME}-2.39
+CATEGORIES= cross
+MASTER_SITES= http://www.agner.org/optimize/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= ryoon@NetBSD.org
+HOMEPAGE= http://www.agner.org/optimize/
+COMMENT= TODO: Short description of the package
+LICENSE= gnu-gpl-v3
+
+DIST_SUBDIR= ${PKGNAME_NOREV}
+
+USE_TOOLS+= unzip:build
+
+WRKSRC= ${WRKDIR}
+USE_LANGUAGES= c++
+
+INSTALLATION_DIRS+= bin
+
+post-extract:
+ cd ${WRKSRC} && unzip source.zip
+
+do-build:
+ cd ${WRKSRC} && sh ./build.sh
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/objconv \
+ ${DESTDIR}${PREFIX}/bin
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/cross/objconv/PLIST b/cross/objconv/PLIST
new file mode 100644
index 00000000000..e857a8539ba
--- /dev/null
+++ b/cross/objconv/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2015/10/11 01:10:22 ryoon Exp $
+bin/objconv
diff --git a/cross/objconv/distinfo b/cross/objconv/distinfo
new file mode 100644
index 00000000000..6739623c274
--- /dev/null
+++ b/cross/objconv/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2015/10/11 01:10:22 ryoon Exp $
+
+SHA1 (objconv-2.39/objconv.zip) = 51f3f5054b61ac952d466dc4c72b3b669e9890e3
+RMD160 (objconv-2.39/objconv.zip) = 5e161385bb3edaa373f473a660e61f3f5f97bf6e
+Size (objconv-2.39/objconv.zip) = 1007405 bytes