-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #208 from mariux64/add-sip
sip: Add version 4.18.1
- Loading branch information
Showing
1 changed file
with
49 additions
and
0 deletions.
There are no files selected for viewing
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
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}" | ||
} |