llvm: make it work with haikuporter -S

* Missing provides for all commands
* Configure script seems to ignore docDir and incldueDir, so manually
    move them in place at install step...
This commit is contained in:
Adrien Destugues
2014-03-31 09:01:03 +02:00
parent d3dea6df81
commit fec97cb13d

View File

@@ -48,6 +48,7 @@ PROVIDES="
REQUIRES=" REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion haiku$secondaryArchSuffix >= $haikuVersion
lib:libstdc++$secondaryArchSuffix
" "
BUILD_REQUIRES=" BUILD_REQUIRES="
@@ -79,11 +80,16 @@ BUILD()
# Haiku C++ requires rtti in a lot of central system components # Haiku C++ requires rtti in a lot of central system components
# such as Mesa # such as Mesa
export REQUIRES_RTTI=1 export REQUIRES_RTTI=1
runConfigure ./configure --enable-optimized runConfigure ./configure --enable-optimized
make $jobArgs make $jobArgs
} }
INSTALL() INSTALL()
{ {
make install make install
# It seems configure options don't work as expected ?
mv $prefix/include $developDir
mkdir -p $docDir/..
mv $prefix/docs $docDir
} }