mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
Renamed and fixed openal-1.13.0 recipe
This commit is contained in:
71
media-libs/openal/openal-1.13.0.recipe
Normal file
71
media-libs/openal/openal-1.13.0.recipe
Normal file
@@ -0,0 +1,71 @@
|
||||
SUMMARY="OpenAL - A software implementation of the OpenAL 3D audio API"
|
||||
DESCRIPTION="OpenAL - A software implementation of the OpenAL 3D audio API"
|
||||
HOMEPAGE="http://kcat.strangesoft.net/openal.html"
|
||||
SRC_URI="http://kcat.strangesoft.net/openal-releases/openal-soft-1.13.tar.bz2"
|
||||
CHECKSUM_MD5="58b7d2809790c70681b825644c5f3614"
|
||||
REVISION="1"
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
COPYRIGHT="1999-2000 Loki Software
|
||||
2005-2011 OpenAL Soft team"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
openal$secondaryArchSuffix = $portVersion compat >= 1
|
||||
lib:libopenal$secondaryArchSuffix = 1.13.0 compat >= 1
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
cmd:cmake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
SOURCE_DIR="openal-soft-1.13"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cmake .
|
||||
make
|
||||
}
|
||||
|
||||
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
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user