2022-01-04 21:53:26 +01:00
|
|
|
# $NetBSD: Makefile,v 1.6 2022/01/04 20:53:51 wiz Exp $
|
Import keystone-0.9 as emulators/py-keystone
Keystone is a lightweight multi-platform, multi-architecture assembler
framework.
It offers some unparalleled features:
* Multi-architecture, with support for Arm, Arm64 (AArch64/Armv8), Hexagon,
Mips, PowerPC, Sparc, SystemZ & X86 (include 16/32/64bit).
* Clean/simple/lightweight/intuitive architecture-neutral API.
* Implemented in C/C++ languages, with bindings for Python, NodeJS, Ruby,
Go & Rust available.
* Native support for Windows & *nix (with Mac OSX, Linux, *BSD & Solaris
confirmed).
* Thread-safe by design.
* Open source - with a dual license.
Keystone is based on LLVM, but it goes much further with a lot more to offer.
This package ships with Python bindings.
Originally packaged in pkgsrc-wip by myself.
2016-06-11 23:06:48 +02:00
|
|
|
|
2022-01-04 21:53:26 +01:00
|
|
|
PKGREVISION= 1
|
Import keystone-0.9 as emulators/py-keystone
Keystone is a lightweight multi-platform, multi-architecture assembler
framework.
It offers some unparalleled features:
* Multi-architecture, with support for Arm, Arm64 (AArch64/Armv8), Hexagon,
Mips, PowerPC, Sparc, SystemZ & X86 (include 16/32/64bit).
* Clean/simple/lightweight/intuitive architecture-neutral API.
* Implemented in C/C++ languages, with bindings for Python, NodeJS, Ruby,
Go & Rust available.
* Native support for Windows & *nix (with Mac OSX, Linux, *BSD & Solaris
confirmed).
* Thread-safe by design.
* Open source - with a dual license.
Keystone is based on LLVM, but it goes much further with a lot more to offer.
This package ships with Python bindings.
Originally packaged in pkgsrc-wip by myself.
2016-06-11 23:06:48 +02:00
|
|
|
.include "../../emulators/keystone/Makefile.common"
|
|
|
|
|
|
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
|
|
CATEGORIES+= python
|
|
|
|
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
|
|
COMMENT= Python bindings for keystone
|
|
|
|
LICENSE= modified-bsd
|
|
|
|
|
|
|
|
PYSETUPSUBDIR= bindings/python
|
|
|
|
|
2021-02-10 11:35:13 +01:00
|
|
|
EGG_NAME= keystone_engine-${PKGVERSION_NOREV}
|
keystone: py-keystone: Update to 0.9.1
upstream changelog
==================
Version 0.9.1
July 27, 2016
Core & tool
Fix a segfault in kstool (on missing assembly input).
kstool now allows to specify instruction address.
Build Mac libraries in universal format by default.
Add lib32 option to cross-compile to 32-bit *nix (on 64-bit system).
Add lib_only option to only build libraries (skip kstool).
New bindings: Haskell & OCaml.
X86
Fix instructions: LJMP, LCALL, CDQE, SHR, SHL, SAR, SAL, LOOP, LOOPE, LOOPNE.
Better handling a lot of tricky input caught by assert() before.
Better support for Nasm syntax.
Arm
Fix BLX instruction.
Python binding
Better Python3 support.
Expose @stat_count in KsError class when ks_asm() returns with error. See sample code in bindings/python/sample_asm_count.py
Go binding
Fix Go binding for 32-bit
2018-02-19 01:52:28 +01:00
|
|
|
|
2021-03-12 15:48:12 +01:00
|
|
|
TOOL_DEPENDS+= cmake-[0-9]*:../../devel/cmake
|
|
|
|
|
2016-06-14 09:02:44 +02:00
|
|
|
.include "../../emulators/keystone/buildlink3.mk"
|
2021-02-10 11:35:13 +01:00
|
|
|
.include "../../lang/python/egg.mk"
|
Import keystone-0.9 as emulators/py-keystone
Keystone is a lightweight multi-platform, multi-architecture assembler
framework.
It offers some unparalleled features:
* Multi-architecture, with support for Arm, Arm64 (AArch64/Armv8), Hexagon,
Mips, PowerPC, Sparc, SystemZ & X86 (include 16/32/64bit).
* Clean/simple/lightweight/intuitive architecture-neutral API.
* Implemented in C/C++ languages, with bindings for Python, NodeJS, Ruby,
Go & Rust available.
* Native support for Windows & *nix (with Mac OSX, Linux, *BSD & Solaris
confirmed).
* Thread-safe by design.
* Open source - with a dual license.
Keystone is based on LLVM, but it goes much further with a lot more to offer.
This package ships with Python bindings.
Originally packaged in pkgsrc-wip by myself.
2016-06-11 23:06:48 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|