mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
Merged in arfonzo/haikuports/quassel (pull request #14)
Quassel IRC client recipe.
This commit is contained in:
80
net-irc/quassel/quassel-0.9.2.recipe
Normal file
80
net-irc/quassel/quassel-0.9.2.recipe
Normal file
@@ -0,0 +1,80 @@
|
||||
SUMMARY="Quassel IRC."
|
||||
DESCRIPTION="
|
||||
Quassel IRC is a modern, cross-platform, distributed IRC client,
|
||||
meaning that one (or multiple) client(s) can attach to and detach
|
||||
from a central core -- much like the popular combination of screen
|
||||
and a text-based IRC client such as WeeChat, but graphical. In
|
||||
addition to this unique feature, we aim to bring a pleasurable,
|
||||
comfortable chatting experience to all major platforms (including
|
||||
Linux, Windows, and MacOS X as well as Android smartphones), making
|
||||
communication with your peers not only convenient, but also
|
||||
ubiquitous available.
|
||||
"
|
||||
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="2005-2009, the Quassel IRC Team"
|
||||
|
||||
ARCHITECTURES="x86"
|
||||
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
|
||||
# x86_gcc2 is fine as primary target architecture as long as we're building
|
||||
# for a different secondary architecture.
|
||||
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
|
||||
fi
|
||||
|
||||
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:g++${secondaryArchSuffix}
|
||||
cmd:make
|
||||
cmd:pkg_config
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
qtcore${secondaryArchSuffix}_devel >= 4.8
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake -DCMAKE_INSTALL_PREFIX=$prefix -DCMAKE_C_COMPILER="gcc" -DCMAKE_CXX_COMPILER="g++" ..
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd build
|
||||
|
||||
# Optional: strip the binaries before installing.
|
||||
# To be updated/removed whenever resources are added.
|
||||
echo "Stripping binaries ..."
|
||||
strip quassel
|
||||
strip quasselcore
|
||||
strip quasselclient
|
||||
|
||||
echo "Copying binaries to ${appsDir} ..."
|
||||
mkdir -p ${appsDir}/Quassel
|
||||
cp quassel ${appsDir}/Quassel
|
||||
cp quasselcore ${appsDir}/Quassel
|
||||
cp quasselclient ${appsDir}/Quassel
|
||||
}
|
||||
Reference in New Issue
Block a user