Files
haikuports/haiku-apps/chat/chat-20100903.recipe
2018-09-14 12:39:48 +02:00

52 lines
1.3 KiB
Bash

SUMMARY="A XMPP client"
DESCRIPTION="Chat is a tiny (about 300KiB) XMPP client. It supports core XMPP \
protocol, multi-user chat, Google accounts, Psi bookmarks, In-band \
registration and other features. Chat is the simplest and smallest client \
that supports XMPP Advanced Client 2009 profile."
HOMEPAGE="https://github.com/devaspot/chat/"
COPYRIGHT="2010-2014 Maxim Sokhatsky"
LICENSE="MIT"
REVISION="4"
srcGitRev="37b34459b19b7f789073b348bab93c8f0df05f30"
SOURCE_URI="https://github.com/devaspot/chat/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="26721cbd6fac473ac20afd7774f7fd7ca8a7f2a849ca334d2cfdad48ce539c46"
SOURCE_FILENAME="chat-$srcGitRev.tar.gz"
SOURCE_DIR="chat-$srcGitRev"
ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
chat = $portVersion
app:Chat = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libexpat$secondaryArchSuffix
lib:libssl$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libexpat$secondaryArchSuffix
devel:libssl$secondaryArchSuffix
"
BUILD_PREREQUIRES="
makefile_engine
cmd:gcc$secondaryArchSuffix
cmd:make
cmd:which
"
BUILD()
{
cd src
BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` make
}
INSTALL()
{
mkdir -p $appsDir
cp src/objects.*-release/Chat $appsDir/Chat
addAppDeskbarSymlink $appsDir/Chat "Chat"
}