mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
81 lines
1.7 KiB
Plaintext
81 lines
1.7 KiB
Plaintext
SUMMARY="Full-featured Jabber/XMPP client library"
|
|
DESCRIPTION="
|
|
Rock-solid, full-featured Jabber/XMPP client library, written in clean ANSI C++.
|
|
"
|
|
HOMEPAGE="http://camaya.net/gloox/"
|
|
LICENSE="GNU GPL v2"
|
|
COPYRIGHT="2002-2012 Jakob Schröter"
|
|
SRC_URI="http://camaya.net/download/gloox-1.0.9.tar.bz2"
|
|
CHECKSUM_MD5="48fc9aa5210c2a1ce253751a4d38e19c"
|
|
REVISION="1"
|
|
ARCHITECTURES="x86 ?x86_64"
|
|
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"
|
|
else
|
|
ARCHITECTURES="$ARCHITECTURES !x86_gcc2"
|
|
fi
|
|
SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
|
|
PATCHES="gloox-1.0.9.patch"
|
|
|
|
PROVIDES="
|
|
gloox$secondaryArchSuffix = $portVersion
|
|
lib:libgloox$secondaryArchSuffix = $portVersion
|
|
"
|
|
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix >= $haikuVersion
|
|
lib:libssl$secondaryArchSuffix
|
|
lib:libcrypto$secondaryArchSuffix
|
|
"
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
|
devel:libssl$secondaryArchSuffix
|
|
devel:libcrypto$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:libtoolize
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake
|
|
"
|
|
BUILD()
|
|
{
|
|
libtoolize --force --copy --install
|
|
aclocal
|
|
autoconf
|
|
automake
|
|
runConfigure ./configure
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
# prepare development lib links
|
|
prepareInstalledDevelLib libgloox
|
|
|
|
# devel package
|
|
packageEntries devel $developDir
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|
|
|
|
|
|
# ----- devel package -------------------------------------------------------
|
|
|
|
PROVIDES_devel="
|
|
gloox${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libgloox$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES_devel="
|
|
gloox$secondaryArchSuffix == $portVersion base
|
|
"
|