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}" +}