Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# Copyright 2017 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require setup-py [ import=distutils work=${PNV/_rc/-rc}/bindings/python ]
require github [ user="aquynh" tag="${PV/_rc/-rc}" ]
SUMMARY="Capstone disassembly/disassembler framework"
HOMEPAGE="http://www.capstone-engine.org/ ${HOMEPAGE}"
LICENCES="BSD-3"
SLOT="0"
PLATFORMS="~amd64 ~x86"
MYOPTIONS=""
DEPENDENCIES="
build:
build+run:
"
BUGS_TO="hasufell@posteo.de"
src_unpack() {
default
easy-multibuild_src_unpack
}
src_prepare() {
default
setup-py_src_prepare
}
src_configure() {
default
setup-py_src_configure
}
src_compile() {
PREFIX="/usr/$(exhost --target)" default
setup-py_src_compile
}
src_install() {
PREFIX="/usr/$(exhost --target)" default
setup-py_src_install
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.