mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
Caya: fix build.
* Strings.h * Build in release mode (much smaller binaries) * Some buildsystem tweaks.
This commit is contained in:
75
haiku-apps/caya/caya-2013.10.12.recipe
Normal file
75
haiku-apps/caya/caya-2013.10.12.recipe
Normal file
@@ -0,0 +1,75 @@
|
||||
SUMMARY="Caya is a multiprotocol IM client."
|
||||
HOMEPAGE="http://www.versut.com/caya/"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86 x86_gcc2"
|
||||
|
||||
SRC_URI="git+https://github.com/Barrett17/Caya.git#0746cacb94f78b656226d8679baa3a4d968a03e6"
|
||||
PATCHES="caya-$portVersion.patchset"
|
||||
|
||||
PROVIDES="
|
||||
caya = $portVersion
|
||||
app:caya
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku >= $haikuVersion
|
||||
lib:libz
|
||||
lib:libexpat
|
||||
lib:libssl
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
devel:libexpat
|
||||
devel:libssl
|
||||
devel:libz
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
cmd:gcc
|
||||
cmd:ld
|
||||
cmd:jam
|
||||
cmd:which
|
||||
cmd:tr
|
||||
"
|
||||
|
||||
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/msn $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
|
||||
}
|
||||
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="
|
||||
2009-2011 Andrea Anzani
|
||||
2009-2011 Pierluigi Fiorini
|
||||
2010-2011 Oliver Ruiz Dorantes
|
||||
2011-2012 Casalinuovo Dario
|
||||
"
|
||||
DESCRIPTION="
|
||||
Caya is a multiprotocol chat client for Haiku. It supports msn, aim, jabber, \
|
||||
google talk, and facebook.
|
||||
"
|
||||
Reference in New Issue
Block a user