Updated quassel recipe. Now builds on hrev46464 on gcc2h. Installs to $appDir/Quassel.

This commit is contained in:
Arfonzo J. Coward
2013-12-02 23:47:56 +00:00
parent fa3736107a
commit d23305991c

View File

@@ -14,47 +14,57 @@ ARCHITECTURES="x86 x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
quassel = $portVersion
quassel${secondaryArchSuffix} = $portVersion
cmd:quassel${secondaryArchSuffix}
cmd:quasselcore${secondaryArchSuffix}
cmd:quasselclient${secondaryArchSuffix}
"
REQUIRES="
haiku >= $haikuVersion
haiku${secondaryArchSuffix} >= $haikuVersion
qtcore${secondaryArchSuffix} >= 4.8
"
BUILD_PREREQUIRES="
cmd:cmake
cmd:gcc${secondaryArchSuffix}
cmd:g++${secondaryArchSuffix}
cmd:make
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
pkgconfig
qtcore${secondaryArchSuffix}_devel >= 4.8
cmd:cmake
cmd:gcc
cmd:g++
cmd:gcc${secondaryArchSuffix}
cmd:g++${secondaryArchSuffix}
cmd:make
haiku${secondaryArchSuffix}_devel >= $haikuVersion
qtcore${secondaryArchSuffix}_devel >= 4.8
cmd:pkg_config
"
#PATCHES="
# "
BUILD()
{
echo "========================="
echo "TODO: Building quassel..."
{
pushd .
mkdir -p build
cd build
cmake `popd`
make
cmake -DCMAKE_INSTALL_PREFIX=$prefix -DCMAKE_C_COMPILER="gcc" -DCMAKE_CXX_COMPILER="g++" `popd`
make
cd `popd`
}
INSTALL()
{
echo "==========================="
echo "TODO: Installing quassel..."
#make install
pushd .
cd build
# Optional: strip the binaries before installing.
echo "Stripping binaries ..."
strip quassel
strip quasselcore
strip quasselclient
echo "DEBUG: apps dir: ${appsDir}"
echo "Copying binaries to ${appsDir} ..."
mkdir -p ${appsDir}/Quassel
cp quassel ${appsDir}/Quassel
cp quasselcore ${appsDir}/Quassel
cp quasselclient ${appsDir}/Quassel
cd `popd`
}