diff options
author | kamil <kamil> | 2015-12-12 01:26:39 +0000 |
---|---|---|
committer | kamil <kamil> | 2015-12-12 01:26:39 +0000 |
commit | f38adadf0a4cfd22792a4560fb285de4c85960c0 (patch) | |
tree | 24afb9e06cea27be08c921fce28163c7eb7e0a4c /emulators | |
parent | 04e612d2fdf75ac057625a9b6f1b03cda3d60b39 (diff) | |
download | pkgsrc-f38adadf0a4cfd22792a4560fb285de4c85960c0.tar.gz |
Import unicorn-0.9 as emulators/unicorn
Unicorn is a lightweight, multi-platform, multi-architecture CPU emulator
framework based on QEMU.
Unicorn offers some unparalleled features:
- Multi-architecture: ARM, AMM64 (ARMv8), M68K, MIPS, SPARC, and X86 (16, 32,
64-bit)
- Clean/simple/lightweight/intuitive architecture-neutral API
- Implemented in pure C language, with bindings for Python, Java, and Go
- Native support for Windows & *nix (with Mac OSX, Linux, *BSD & Solaris
confirmed)
- High performance via Just-In-Time compilation
- Support for fine-grained instrumentation at various levels
- Thread-safety by design
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/unicorn/DESCR | 13 | ||||
-rw-r--r-- | emulators/unicorn/Makefile | 21 | ||||
-rw-r--r-- | emulators/unicorn/PLIST | 13 | ||||
-rw-r--r-- | emulators/unicorn/distinfo | 5 |
4 files changed, 52 insertions, 0 deletions
diff --git a/emulators/unicorn/DESCR b/emulators/unicorn/DESCR new file mode 100644 index 00000000000..967fd5e9176 --- /dev/null +++ b/emulators/unicorn/DESCR @@ -0,0 +1,13 @@ +Unicorn is a lightweight, multi-platform, multi-architecture CPU emulator +framework based on QEMU. + +Unicorn offers some unparalleled features: + - Multi-architecture: ARM, AMM64 (ARMv8), M68K, MIPS, SPARC, and X86 (16, 32, + 64-bit) + - Clean/simple/lightweight/intuitive architecture-neutral API + - Implemented in pure C language, with bindings for Python, Java, and Go + - Native support for Windows & *nix (with Mac OSX, Linux, *BSD & Solaris + confirmed) + - High performance via Just-In-Time compilation + - Support for fine-grained instrumentation at various levels + - Thread-safety by design diff --git a/emulators/unicorn/Makefile b/emulators/unicorn/Makefile new file mode 100644 index 00000000000..21a3482db58 --- /dev/null +++ b/emulators/unicorn/Makefile @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1 2015/12/12 01:26:39 kamil Exp $ + +DISTNAME= unicorn-0.9 +CATEGORIES= emulators +MASTER_SITES= ${MASTER_SITE_GITHUB:=unicorn-engine/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://www.unicorn-engine.org/ +COMMENT= CPU emulator engine framework based on QEMU +LICENSE= gnu-gpl-v2 + +USE_TOOLS+= gmake pkg-config + +.include "../../lang/python/application.mk" + +MAKE_ENV+= UNICORN_QEMU_FLAGS=--python=${PYTHONBIN:Q} + +ALL_ENV+= USE_GENERIC_LIBDATADIR=yes + +.include "../../devel/glib2/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/emulators/unicorn/PLIST b/emulators/unicorn/PLIST new file mode 100644 index 00000000000..201c8976d8f --- /dev/null +++ b/emulators/unicorn/PLIST @@ -0,0 +1,13 @@ +@comment $NetBSD: PLIST,v 1.1 2015/12/12 01:26:39 kamil Exp $ +include/unicorn/arm.h +include/unicorn/arm64.h +include/unicorn/m68k.h +include/unicorn/mips.h +include/unicorn/platform.h +include/unicorn/sparc.h +include/unicorn/unicorn.h +include/unicorn/x86.h +lib/libunicorn.a +lib/libunicorn.so +lib/libunicorn.so.0 +lib/pkgconfig/unicorn.pc diff --git a/emulators/unicorn/distinfo b/emulators/unicorn/distinfo new file mode 100644 index 00000000000..fddd8b8f903 --- /dev/null +++ b/emulators/unicorn/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2015/12/12 01:26:39 kamil Exp $ + +SHA1 (unicorn-0.9.tar.gz) = 1504c21f28f19ff1f71bcd74043c2284decb1d9f +RMD160 (unicorn-0.9.tar.gz) = f95fe16ba7900dde5eae502ad8eb55c227436d0f +Size (unicorn-0.9.tar.gz) = 2576109 bytes |