mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
70 lines
1.9 KiB
Bash
70 lines
1.9 KiB
Bash
SUMMARY="A multi-protocol IM client"
|
|
DESCRIPTION="Caya is a multi-protocol chat client for Haiku. It supports \
|
|
msn, aim, jabber, google talk, and facebook."
|
|
HOMEPAGE="https://github.com/Barrett17/Caya/"
|
|
COPYRIGHT="2009-2011 Andrea Anzani
|
|
2010-2015 Dario Casalinuovo
|
|
2009-2011 Pier Luigi Fiorini"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="8"
|
|
SOURCE_URI="https://github.com/Barrett17/Caya/archive/43275b5e22a65bcb5b7a7f8905bc19fb94cbe65f.tar.gz"
|
|
CHECKSUM_SHA256="ce39dc30c8a2d3881339bc3acac2d59ac769981ce4d3b06c86724a54f668ed11"
|
|
SOURCE_DIR="Caya-43275b5e22a65bcb5b7a7f8905bc19fb94cbe65f"
|
|
|
|
ARCHITECTURES="!all"
|
|
|
|
PROVIDES="
|
|
caya = $portVersion
|
|
app:Caya
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
lib:libexpat
|
|
lib:libssl
|
|
lib:libz
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
devel:libexpat
|
|
devel:libssl
|
|
devel:libz
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc
|
|
cmd:jam
|
|
cmd:ld
|
|
cmd:tr
|
|
cmd:which
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
mkdir -p $sourceDir/generated/objects-haiku-x86-gcc2-release/application
|
|
echo $portVersion | tr -d . > $sourceDir/generated/objects-haiku-x86-gcc2-release/application/svn_revision
|
|
./configure
|
|
jam $jobArgs -sDEBUG=0
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $appsDir/Caya
|
|
mkdir -p $appsDir/Caya/smileys
|
|
mkdir -p $appsDir/Caya/protocols
|
|
mkdir -p $includeDir/caya/
|
|
|
|
cp generated/distro-haiku-*-release/Caya $appsDir/Caya
|
|
cp generated/distro-haiku-*-release/aim $appsDir/Caya/protocols
|
|
cp generated/distro-haiku-*-release/gtalk $appsDir/Caya/protocols
|
|
cp generated/distro-haiku-*-release/facebook $appsDir/Caya/protocols
|
|
cp generated/distro-haiku-*-release/jabber $appsDir/Caya/protocols
|
|
cp generated/distro-haiku-*-release/yahoo $appsDir/Caya/protocols
|
|
cp smileys/*.gif smileys/settings.xml $appsDir/Caya/smileys
|
|
cp application/Caya.h $includeDir/caya/
|
|
cp application/CayaProtocol.h $includeDir/caya/
|
|
cp application/CayaConstants.h $includeDir/caya/
|
|
cp application/CayaProtocolMessages.h $includeDir/caya/
|
|
|
|
addAppDeskbarSymlink $appsDir/Caya/Caya
|
|
}
|