Skip to content

Commit

Permalink
Merge pull request #208 from mariux64/add-sip
Browse files Browse the repository at this point in the history
sip: Add version 4.18.1
  • Loading branch information
donald authored Nov 21, 2016
2 parents a0135ec + e296780 commit 247360a
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions sip.be0
Original file line number Diff line number Diff line change
@@ -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}"
}

0 comments on commit 247360a

Please sign in to comment.