mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
71 lines
1.5 KiB
Plaintext
71 lines
1.5 KiB
Plaintext
SUMMARY="Quassel IRC."
|
|
DESCRIPTION="Quassel IRC core and client."
|
|
HOMEPAGE="http://quassel-irc.org"
|
|
SRC_URI="http://quassel-irc.org/pub/quassel-0.9.2.tar.bz2"
|
|
CHECKSUM_MD5="4ed88d288f60290f4459d3e68d61b037"
|
|
REVISION="1"
|
|
LICENSE="
|
|
GNU GPL v2
|
|
GNU GPL v3
|
|
"
|
|
COPYRIGHT="Copyright (C) 2005, 2006, 2007, 2008, 2009 by the Quassel IRC Team"
|
|
|
|
ARCHITECTURES="x86 x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
quassel${secondaryArchSuffix} = $portVersion
|
|
cmd:quassel${secondaryArchSuffix}
|
|
cmd:quasselcore${secondaryArchSuffix}
|
|
cmd:quasselclient${secondaryArchSuffix}
|
|
"
|
|
|
|
REQUIRES="
|
|
haiku${secondaryArchSuffix} >= $haikuVersion
|
|
qtcore${secondaryArchSuffix} >= 4.8
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
cmd:cmake
|
|
cmd:gcc${secondaryArchSuffix}
|
|
cmd:g++${secondaryArchSuffix}
|
|
cmd:make
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
|
qtcore${secondaryArchSuffix}_devel >= 4.8
|
|
cmd:pkg_config
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
pushd .
|
|
mkdir -p build
|
|
cd build
|
|
cmake -DCMAKE_INSTALL_PREFIX=$prefix -DCMAKE_C_COMPILER="gcc" -DCMAKE_CXX_COMPILER="g++" `popd`
|
|
make
|
|
cd `popd`
|
|
}
|
|
|
|
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`
|
|
}
|