mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
80 lines
2.1 KiB
Bash
80 lines
2.1 KiB
Bash
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"
|
|
SOURCE_URI="http://ftp.gnome.org/pub/GNOME/sources/libsoup/2.58/libsoup-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256="442300ca1b1bf8a3bbf2f788203287ff862542d4fc048f19a92a068a27d17b72"
|
|
PATCHES="libsoup-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="all"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
libsoup$secondaryArchSuffix = $portVersion
|
|
lib:libsoup_2.4$secondaryArchSuffix = 1.8.0 compat >= 1
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libcurl$secondaryArchSuffix
|
|
lib:libglib_2.0$secondaryArchSuffix
|
|
lib:libglib_networking_2.0${secondaryArchSuffix}
|
|
lib:libiconv$secondaryArchSuffix
|
|
lib:libintl$secondaryArchSuffix
|
|
lib:libsqlite3$secondaryArchSuffix
|
|
lib:libxml2$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libsoup${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libsoup_2.4$secondaryArchSuffix = 1.8.0 compat >= 1
|
|
"
|
|
REQUIRES_devel="
|
|
libsoup$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libcurl$secondaryArchSuffix
|
|
devel:libglib_2.0$secondaryArchSuffix
|
|
devel:libsqlite3$secondaryArchSuffix
|
|
devel:libxml2$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
lib:libglib_networking_2.0${secondaryArchSuffix}
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:intltool_update
|
|
cmd:libtool
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
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
|
|
rm -rf $dataDir/gtk-doc
|
|
|
|
prepareInstalledDevelLibs libsoup-2.4
|
|
fixPkgconfig
|
|
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|