Created
August 25, 2017 10:39
-
-
Save hasufell/4325a17c70906854feeb4cf543faa9a5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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