mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
67 lines
1.6 KiB
Bash
67 lines
1.6 KiB
Bash
SUMMARY="Implementation of the OpenAL Utility Toolkit"
|
|
DESCRIPTION="FreeALUT - a free implementation of OpenAL's ALUT standard."
|
|
HOMEPAGE="http://connect.creativelabs.com/openal"
|
|
COPYRIGHT="2005-2006 Creative Technology Ltd."
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="3"
|
|
SOURCE_URI="http://ftp.de.debian.org/debian/pool/main/f/freealut/freealut_$portVersion.orig.tar.gz"
|
|
CHECKSUM_SHA256="60d1ea8779471bb851b89b49ce44eecb78e46265be1a6e9320a28b100c8df44f"
|
|
SOURCE_DIR="freealut-$portVersion"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
freealut$secondaryArchSuffix = $portVersion compat >= 0
|
|
lib:libalut$secondaryArchSuffix = $portVersion compat >= 0
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libopenal$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
freealut${secondaryArchSuffix}_devel = $portVersion compat >= 0
|
|
cmd:freealut_config$secondaryArchSuffix = $portVersion compat >= 0
|
|
devel:libalut$secondaryArchSuffix = $portVersion compat >= 0
|
|
"
|
|
REQUIRES_devel="
|
|
haiku$secondaryArchSuffix
|
|
freealut$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libopenal$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:find
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
cmd:ranlib
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
libtoolize --force --copy --install
|
|
./autogen.sh
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
fixPkgconfig
|
|
prepareInstalledDevelLibs libalut
|
|
packageEntries devel \
|
|
$developDir $binDir
|
|
}
|