mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
74 lines
1.5 KiB
Bash
74 lines
1.5 KiB
Bash
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/"
|
|
COPYRIGHT="2002-2012 Jakob Schröter"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="2"
|
|
SOURCE_URI="http://camaya.net/download/gloox-$portVersion.tar.bz2"
|
|
CHECKSUM_SHA256="88466ab52ca99bfb22a74b738d9713a9cda0b06e539108354156ba408a5283f8"
|
|
PATCHES="gloox-1.0.9.patch"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
gloox$secondaryArchSuffix = $portVersion
|
|
lib:libgloox$secondaryArchSuffix = 16.0.0 compat >= 16
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libcrypto$secondaryArchSuffix
|
|
lib:libssl$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
gloox${secondaryArchSuffix}_devel = $portVersion
|
|
cmd:gloox_config${secondaryArchSuffix}
|
|
devel:libgloox$secondaryArchSuffix = 16.0.0 compat >= 16
|
|
"
|
|
REQUIRES_devel="
|
|
gloox$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libcrypto$secondaryArchSuffix
|
|
devel:libssl$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:libtoolize
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -fi
|
|
runConfigure ./configure
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
rm $libDir/libgloox.la
|
|
|
|
# prepare development lib links
|
|
prepareInstalledDevelLib libgloox
|
|
|
|
# devel package
|
|
packageEntries devel $developDir $binDir
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|