mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
SIP Initial Recipe
Remove whitespaces.
This commit is contained in:
49
dev-python/sip/sip-4.17.recipe
Normal file
49
dev-python/sip/sip-4.17.recipe
Normal file
@@ -0,0 +1,49 @@
|
||||
SUMMARY="A tool to create Python bindings for C and C++ libraries"
|
||||
DESCRIPTION="SIP comprises a code generator and a Python module. The code generator \
|
||||
processes a set of specification files and generates C or C++ code which is \
|
||||
then compiled to create the bindings extension module. The SIP Python \
|
||||
module provides support functions to the automatically generated code."
|
||||
HOMEPAGE="https://www.riverbankcomputing.com/software/sip/"
|
||||
COPYRIGHT="2015 Riverbank Computing Limited"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://sourceforge.net/projects/pyqt/files/sip/sip-4.17/sip-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="603026822adf8673fca6e0ea20b02c3c4a2dccb309647656f7269adc8de89060"
|
||||
SOURCE_DIR="sip-$portVersion"
|
||||
PATCHES="sip-$portVersion.patch"
|
||||
|
||||
ARCHITECTURES="x86 x86_gcc2 x86_64"
|
||||
|
||||
PROVIDES="
|
||||
cmd:sip = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
cmd:python
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:python
|
||||
cmd:gcc
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
$portPackageLinksDir/cmd~python/bin/python configure.py \
|
||||
--platform=haiku-g++ \
|
||||
--bindir=$binDir \
|
||||
--incdir=$includeDir/python2.7 \
|
||||
--destdir=$libDir/python2.7/vendor-packages \
|
||||
#--sipdir= \
|
||||
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
}
|
||||
Reference in New Issue
Block a user