From e296780c6bcc348a6ffe90fe5fbe0488544d7362 Mon Sep 17 00:00:00 2001 From: thomas Date: Mon, 21 Nov 2016 12:51:57 +0100 Subject: [PATCH] sip: Add version 4.18.1 SIP is a tool that makes it very easy to create Python bindings for C and C++ libraries. It was originally developed to create PyQt, the Python bindings for the Qt toolkit, but can be used to create bindings for any C or C++ library. Homepage: https://riverbankcomputing.com/software/sip/intro --- sip.be0 | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100755 sip.be0 diff --git a/sip.be0 b/sip.be0 new file mode 100755 index 000000000..f0f111731 --- /dev/null +++ b/sip.be0 @@ -0,0 +1,49 @@ +#!/usr/bin/env beesh + +# BEE_VERSION sip-4.18.1-0 + +## The source URL(s) array +SRCURL[0]="file:///src/mariux/beeroot/downloads/sip-${PKGVERSION}.tar.gz" + +## Add URLs/pathes to patch files +# PATCHURL+=() + +## files that should not be added from the image directory. +# EXCLUDE+=() + + +## uncomment to change default +build_in_sourcedir + +## specify different source directory +# sourcesubdir_append src + + +#mee_extract() { +# bee_extract "${@}" +#} + +#mee_patch() { +# bee_patch "${@}" +#} + +mee_configure() { + local PYTHONVER=$( python -V 2>&1 | cut -f 2 -d' ' | cut -f 1-2 -d. ) + local PYTHONLIB=$( python -c 'from distutils.sysconfig import get_python_lib; print get_python_lib()' ) + + python configure.py \ + -b "/usr/bin" \ + -d "$PYTHONLIB" \ + -e "/usr/include/python$PYTHONVER" +} + +#mee_build() { +# bee_build +#} + +## mee_install() should install into "${D}" +## default: 'make install DESTDIR="${D}"' + +mee_install() { + make install DESTDIR="${D}" +}