2017-01-01 15:43:22 +01:00
|
|
|
# $NetBSD: Makefile,v 1.4 2017/01/01 14:43:39 wiz Exp $
|
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
2015-12-12 02:26:39 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2017-01-01 15:43:22 +01:00
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 # as of 0.9
|
2015-12-13 00:23:46 +01:00
|
|
|
|
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
2015-12-12 02:26:39 +01:00
|
|
|
.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"
|