mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-24 09:08:53 +02:00
swig: add additional supported languages, fix build
This commit is contained in:
@@ -26,45 +26,51 @@ SRC_URI="http://sourceforge.net/projects/swig/files/swig/swig-2.0.11/swig-2.0.11
|
||||
CHECKSUM_SHA256="63780bf29f53937ad399a1f68bccb3730c90f65746868c4cdfc25cafcd0a424e"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="?x86 ?x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
|
||||
PROVIDES="
|
||||
swig = $portVersion
|
||||
cmd:swig = $portVersion
|
||||
cmd:ccache_swig = $portVersion
|
||||
swig${secondaryArchSuffix} = $portVersion
|
||||
cmd:swig${secondaryArchSuffix} = $portVersion
|
||||
cmd:ccache_swig${secondaryArchSuffix} = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku
|
||||
lib:libpcre
|
||||
haiku${secondaryArchSuffix}
|
||||
lib:libpcre${secondaryArchSuffix}
|
||||
"
|
||||
|
||||
#TODO add ruby and chicken when they get updated recipes
|
||||
#TODO fix lua and tcl detection
|
||||
BUILD_REQUIRES="
|
||||
devel:libtclstub8.5
|
||||
devel:libpython2.6
|
||||
devel:libpython2.7
|
||||
devel:liblua
|
||||
devel:libpcre${secondaryArchSuffix}
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
cmd:libtoolize
|
||||
cmd:make
|
||||
cmd:gcc
|
||||
cmd:g++
|
||||
cmd:ld
|
||||
cmd:pcre_config
|
||||
cmd:gcc${secondaryArchSuffix}
|
||||
cmd:g++${secondaryArchSuffix}
|
||||
cmd:ld${secondaryArchSuffix}
|
||||
cmd:bison
|
||||
cmd:python
|
||||
cmd:perl
|
||||
cmd:lua
|
||||
ocaml${secondaryArchSuffix}
|
||||
ruby${secondaryArchSuffix}
|
||||
openjdk${secondaryArchSuffix}
|
||||
boost${secondaryArchSuffix}_devel
|
||||
golang${secondaryArchSuffix}
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure
|
||||
make
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
|
||||
Reference in New Issue
Block a user