diff --git a/net-libs/libsoup/libsoup-2.53.1.recipe b/net-libs/libsoup/libsoup-2.53.1.recipe new file mode 100644 index 000000000..686e54d2b --- /dev/null +++ b/net-libs/libsoup/libsoup-2.53.1.recipe @@ -0,0 +1,82 @@ +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="1" +SOURCE_URI="http://ftp.gnome.org/pub/GNOME/sources/libsoup/2.53/libsoup-2.53.1.tar.xz" +CHECKSUM_SHA256="8b05acee07ae7973c6ff22c4949f7a1a954236c639de5d7b3e7726b2c9a6bb79" + +ARCHITECTURES="x86 x86_gcc2 x86_64" +SECONDARY_ARCHITECTURES="x86_gcc2 x86" + +PROVIDES=" + libsoup$secondaryArchSuffix = $portVersion + lib:libsoup$secondaryArchSuffix = $portVersion compat >= 2.4 + lib:libsoup_2.4$secondaryArchSuffix = $portVersion compat >= 2.4 + " + +REQUIRES=" + haiku$secondaryArchSuffix + lib:libglib_2.0$secondaryArchSuffix + lib:libglib_networking_2.0${secondaryArchSuffix} + lib:libz$secondaryArchSuffix + lib:libxml2$secondaryArchSuffix + lib:libsqlite3$secondaryArchSuffix + lib:libcurl$secondaryArchSuffix + lib:libiconv$secondaryArchSuffix + " + +PROVIDES_devel=" + libsoup${secondaryArchSuffix}_devel = $portVersion + devel:libsoup$secondaryArchSuffix = $portVersion compat >= 2.4 + devel:libsoup_2.4$secondaryArchSuffix = $portVersion compat >= 2.4 + " + +REQUIRES_devel=" + libsoup$secondaryArchSuffix == $portVersion base + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + lib:libglib_networking_2.0${secondaryArchSuffix} + devel:libglib_2.0$secondaryArchSuffix + devel:libz$secondaryArchSuffix + devel:libxml2$secondaryArchSuffix + devel:libsqlite3$secondaryArchSuffix + devel:libcurl$secondaryArchSuffix + " + +BUILD_PREREQUIRES=" + cmd:gcc$secondaryArchSuffix + cmd:pkg_config$secondaryArchSuffix + cmd:intltool_update + cmd:libtool + cmd:autoconf + cmd:automake + cmd:make + 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 + + fixPkgconfig + + rm -rf $dataDir/gtk-doc + + prepareInstalledDevelLibs libsoup-2.4 + + packageEntries devel \ + $developDir +}