mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
changed the recipe to use configure instead of cmake, this way it compiles for both x86_ggc2 and x86
This commit is contained in:
@@ -10,47 +10,83 @@ LICENSE="GNU LGPL v2.1"
|
||||
COPYRIGHT="2007-2012 Josh Green, Pedro Lopez-Cabanillas, David Henningsson"
|
||||
|
||||
REVISION="1"
|
||||
ARCHITECTURES="?x86_gcc2 ?x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="?x86_gcc2 ?x86"
|
||||
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86 ?x86_64"
|
||||
|
||||
PATCHES="fluidsynth-1.1.6-configure.patch"
|
||||
|
||||
PROVIDES="
|
||||
fluidsynth$secondaryArchSuffix = $portVersion
|
||||
lib:libfluidsynth$secondaryArchSuffix
|
||||
cmd:fluidsynth
|
||||
fluidsynth
|
||||
libfluidsynth${secondaryArchSuffix} = 1.1.6 compat >= 1.0
|
||||
lib:libfluidsynth${secondaryArchSuffix} = 1.1.6 compat >= 1.0
|
||||
cmd:fluidsynth${secondaryArchSuffix}
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku$secondayArchSuffix >= $haikuVersion
|
||||
haiku${secondaryArchSuffix} >= $haikuVersion
|
||||
lib:libflac$secondaryArchSuffix
|
||||
glib2$secondaryArchSuffix
|
||||
lib:libiconv$secondaryArchSuffix
|
||||
lib:libintl$secondaryArchSuffix
|
||||
lib:libncurses$secondaryArchSuffix
|
||||
lib:libogg$secondaryArchSuffix
|
||||
lib:libreadline$secondaryArchSuffix
|
||||
lib:libsndfile$secondaryArchSuffix
|
||||
lib:libreadline
|
||||
lib:libglib_2.0
|
||||
lib:libgthread_2.0
|
||||
lib:libintl
|
||||
lib:libvorbis$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
devel:libglib_2.0
|
||||
devel:libreadline
|
||||
devel:libflac$secondaryArchSuffix
|
||||
devel:libgthread_2.0$secondaryArchSuffix
|
||||
devel:libiconv$secondaryArchSuffix
|
||||
devel:libncurses$secondaryArchSuffix
|
||||
devel:libogg$secondaryArchSuffix
|
||||
devel:libreadline$secondaryArchSuffix
|
||||
devel:libsndfile$secondaryArchSuffix
|
||||
devel:libvorbis$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:libtoolize
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:awk
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:find
|
||||
"
|
||||
|
||||
PATCHES="fluidsynth-$portVersion.patchset"
|
||||
BUILD()
|
||||
{
|
||||
cmake . -DCMAKE_INSTALL_PREFIX=$prefix \
|
||||
-DINCLUDE_INSTALL_DIR=$relativeIncludeDir \
|
||||
-DMAN_INSTALL_DIR=$relativeManDir
|
||||
libtoolize -fci
|
||||
aclocal
|
||||
autoconf
|
||||
runConfigure ./configure
|
||||
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLib libfluidsynth
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
|
||||
}
|
||||
|
||||
# ----- devel package -------------------------------------------------------
|
||||
|
||||
PROVIDES_devel="
|
||||
libfluidsynth${secondaryArchSuffix}_devel = $portVersion compat >= 1
|
||||
devel:libfluidsynth$secondaryArchSuffix = $portVersion compat >= 1
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libfluidsynth$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user