0
0
Fork 0
haikuports/net-libs/libsoup/libsoup-2.58.2.recipe

80 lines
2.1 KiB
Bash
Raw Permalink Normal View History

2015-11-22 12:03:04 +00:00
SUMMARY="HTTP client/server library for GNOME"
DESCRIPTION="libsoup is an HTTP client/server library for GNOME. \
It uses GObjects and the glib main loop, to integrate well with \
GNOME applications, and also has a synchronous API, for use in threaded applications."
HOMEPAGE="https://wiki.gnome.org/Projects/libsoup/"
COPYRIGHT="2005 - 2015 The GNOME Project"
LICENSE="GNU LGPL v2"
REVISION="2"
2017-06-07 10:54:20 +00:00
SOURCE_URI="http://ftp.gnome.org/pub/GNOME/sources/libsoup/2.58/libsoup-$portVersion.tar.xz"
CHECKSUM_SHA256="442300ca1b1bf8a3bbf2f788203287ff862542d4fc048f19a92a068a27d17b72"
2016-02-17 19:26:37 +00:00
PATCHES="libsoup-$portVersion.patchset"
2015-11-22 12:03:04 +00:00
ARCHITECTURES="all"
2015-11-22 12:03:04 +00:00
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
libsoup$secondaryArchSuffix = $portVersion
lib:libsoup_2.4$secondaryArchSuffix = 1.8.0 compat >= 1
2015-11-22 12:03:04 +00:00
"
REQUIRES="
haiku$secondaryArchSuffix
2018-08-09 08:34:39 +00:00
lib:libcurl$secondaryArchSuffix
2015-11-22 12:03:04 +00:00
lib:libglib_2.0$secondaryArchSuffix
lib:libglib_networking_2.0${secondaryArchSuffix}
lib:libiconv$secondaryArchSuffix
2017-06-07 10:54:20 +00:00
lib:libintl$secondaryArchSuffix
2018-08-09 08:34:39 +00:00
lib:libsqlite3$secondaryArchSuffix
lib:libxml2$secondaryArchSuffix
lib:libz$secondaryArchSuffix
2015-11-22 12:03:04 +00:00
"
PROVIDES_devel="
libsoup${secondaryArchSuffix}_devel = $portVersion
devel:libsoup_2.4$secondaryArchSuffix = 1.8.0 compat >= 1
2015-11-22 12:03:04 +00:00
"
REQUIRES_devel="
libsoup$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
2018-08-09 08:34:39 +00:00
devel:libcurl$secondaryArchSuffix
2015-11-22 12:03:04 +00:00
devel:libglib_2.0$secondaryArchSuffix
devel:libsqlite3$secondaryArchSuffix
2018-08-09 08:34:39 +00:00
devel:libxml2$secondaryArchSuffix
devel:libz$secondaryArchSuffix
lib:libglib_networking_2.0${secondaryArchSuffix}
2015-11-22 12:03:04 +00:00
"
BUILD_PREREQUIRES="
2018-08-09 08:34:39 +00:00
cmd:autoconf
cmd:automake
2015-11-22 12:03:04 +00:00
cmd:gcc$secondaryArchSuffix
cmd:intltool_update
cmd:libtool
cmd:make
2018-08-09 08:34:39 +00:00
cmd:pkg_config$secondaryArchSuffix
2015-11-22 12:03:04 +00:00
cmd:python
"
BUILD()
{
runConfigure ./configure --disable-nls --without-gnome --disable-tls-check \
--enable-vala=no --enable-introspection=no --disable-gtk-doc-html
make $jobArgs
}
INSTALL()
{
make install
rm $libDir/libsoup-2.4.la
2015-11-22 12:03:04 +00:00
rm -rf $dataDir/gtk-doc
2015-11-22 12:03:04 +00:00
prepareInstalledDevelLibs libsoup-2.4
fixPkgconfig
2015-11-22 12:03:04 +00:00
packageEntries devel \
$developDir
}