Renamed and fixed openal-1.13.0 recipe

This commit is contained in:
Scott McCreary
2013-11-14 11:59:42 -08:00
parent d913d4a8af
commit 5a3f50eaa3

View File

@@ -13,11 +13,11 @@ SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
openal$secondaryArchSuffix = $portVersion compat >= 1
lib:openal$secondaryArchSuffix = 0.0.0 compat >= 0
lib:libopenal$secondaryArchSuffix = 1.13.0 compat >= 1
"
REQUIRES="
haiku >= $haikuVersion
haiku$secondaryArchSuffix >= $haikuVersion
"
BUILD_REQUIRES="
@@ -27,8 +27,8 @@ BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
cmd:cmake
cmd:gcc$secondaryArchSuffix
cmd:make
cmd:ld$secondaryArchSuffix
cmd:make
"
SOURCE_DIR="openal-soft-1.13"
@@ -42,5 +42,30 @@ BUILD()
INSTALL()
{
make install
mkdir -p $developDir/headers
mkdir -p $binDir
mv /boot/common/lib $libDir
mv /boot/common/include/AL $developDir/headers
mv /boot/common/bin/openal-info $binDir
prepareInstalledDevelLibs libopenal
fixPkgconfig
# devel package
packageEntries devel \
$developDir \
$binDir
}
PROVIDES_devel="
openal${secondaryArchSuffix}_devel = $portVersion compat >= 1
devel:libopenal$secondaryArchSuffix = 1.13.0 compat >= 0
cmd:openal_info
"
REQUIRES_devel="
haiku$secondaryArchSuffix >= $haikuVersion
lib:libopenal$secondaryArchSuffix == $portVersion base
"