mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
gloox: bump version.
This commit is contained in:
79
net-libs/gloox/gloox-1.0.22.recipe
Normal file
79
net-libs/gloox/gloox-1.0.22.recipe
Normal file
@@ -0,0 +1,79 @@
|
||||
SUMMARY="Full-featured Jabber/XMPP client library"
|
||||
DESCRIPTION="Rock-solid, full-featured Jabber/XMPP client library, written in clean ANSI C++."
|
||||
HOMEPAGE="https://camaya.net/gloox/"
|
||||
COPYRIGHT="2002-2019 Jakob Schröter"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://camaya.net/download/gloox-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="4ade1b14848ccfcd89a505a4fff05116c24f13cef8d02fab0ade2717117ec964"
|
||||
PATCHES="gloox-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
|
||||
|
||||
libVersion="17.0.0"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
gloox$secondaryArchSuffix = $portVersion
|
||||
lib:libgloox$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
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 = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
gloox$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libcrypto$secondaryArchSuffix
|
||||
devel:libssl$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:autoreconf
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:libtoolize
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
defineDebugInfoPackage gloox$secondaryArchSuffix \
|
||||
$libDir/libgloox.so.$libVersion
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoreconf -fi
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
rm $libDir/libgloox.la
|
||||
|
||||
# prepare development lib links
|
||||
prepareInstalledDevelLib libgloox
|
||||
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel $developDir $binDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
21
net-libs/gloox/patches/gloox-1.0.22.patchset
Normal file
21
net-libs/gloox/patches/gloox-1.0.22.patchset
Normal file
@@ -0,0 +1,21 @@
|
||||
From 1053a4f7eb3d9a73854a3c08c9b6f5b46e163e20 Mon Sep 17 00:00:00 2001
|
||||
From: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
||||
Date: Mon, 3 Jun 2019 22:33:34 +0200
|
||||
Subject: Fix linking on Haiku.
|
||||
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 8269d4e..9b87f82 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -327,6 +327,7 @@ dnl Checks for header files.
|
||||
AC_HEADER_STDC
|
||||
AC_CHECK_HEADERS(unistd.h strings.h errno.h arpa/nameser.h)
|
||||
AC_CHECK_FUNCS(setsockopt,,[AC_CHECK_LIB(socket,setsockopt)])
|
||||
+AC_CHECK_FUNCS(setsockopt,,[AC_CHECK_LIB(network,setsockopt)])
|
||||
|
||||
dnl Checks for typedefs, structures, and compiler characteristics.
|
||||
AC_C_CONST
|
||||
--
|
||||
2.21.0
|
||||
|
||||
Reference in New Issue
Block a user