Cleaned up quassel recipe based on feedback.

This commit is contained in:
Arfonzo J. Coward
2013-12-03 08:25:41 +00:00
parent d23305991c
commit aba3601bd4

View File

@@ -40,31 +40,26 @@ BUILD_REQUIRES="
BUILD()
{
pushd .
mkdir -p build
cd build
pushd build
cmake -DCMAKE_INSTALL_PREFIX=$prefix -DCMAKE_C_COMPILER="gcc" -DCMAKE_CXX_COMPILER="g++" `popd`
make
cd `popd`
popd
}
INSTALL()
{
pushd .
cd build
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`
}