2015-11-22 12:02:13 +00:00
|
|
|
SUMMARY="Network-related giomodules for GLib"
|
|
|
|
DESCRIPTION="This package contains various network related extensions for the GIO library."
|
2018-09-18 08:34:20 +00:00
|
|
|
HOMEPAGE="https://www.gtk.org/"
|
2015-11-22 12:02:13 +00:00
|
|
|
COPYRIGHT="1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
|
|
|
|
1991-2003 Free Software Foundation, Inc.
|
|
|
|
1997-2006 University of Cambridge.
|
|
|
|
1998-2001, 2003-2010 Red Hat, Inc.
|
|
|
|
2007-2009 Nokia Corporation
|
|
|
|
2008, 2010 Oracle and/or its affiliates, Inc. All rights
|
|
|
|
2008-2010 Codethink Limited
|
|
|
|
2008-2010 Collabora Ltd.
|
|
|
|
1995-2010 Several others"
|
2016-02-17 19:26:37 +00:00
|
|
|
LICENSE="GNU LGPL v2"
|
2018-09-18 08:34:20 +00:00
|
|
|
REVISION="5"
|
2016-02-17 19:26:37 +00:00
|
|
|
SOURCE_URI="http://ftp.acc.umu.se/pub/gnome/sources/glib-networking/2.38/glib-networking-$portVersion.tar.xz"
|
|
|
|
CHECKSUM_SHA256="32ea1e504f69ff6693ac4119ad598ded50bb0440cf4484d28ef0adf8fcc85653"
|
2015-11-22 12:02:13 +00:00
|
|
|
SOURCE_DIR="glib-networking-$portVersion"
|
|
|
|
|
2021-09-15 19:40:18 +00:00
|
|
|
ARCHITECTURES="all"
|
2015-11-22 12:02:13 +00:00
|
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
|
|
|
|
PROVIDES="
|
2018-08-06 15:31:46 +00:00
|
|
|
glib_networking$secondaryArchSuffix = $portVersion compat >= 2
|
2015-11-22 12:02:13 +00:00
|
|
|
lib:libglib_networking_2.0$secondaryArchSuffix = $portVersion compat >= 2
|
|
|
|
"
|
|
|
|
REQUIRES="
|
|
|
|
haiku$secondaryArchSuffix
|
|
|
|
lib:libffi$secondaryArchSuffix
|
|
|
|
lib:libglib_2.0$secondaryArchSuffix
|
|
|
|
lib:libgmp$secondaryArchSuffix
|
2018-08-09 08:34:39 +00:00
|
|
|
lib:libgnutls$secondaryArchSuffix
|
|
|
|
lib:libintl$secondaryArchSuffix
|
|
|
|
lib:libxml2$secondaryArchSuffix
|
|
|
|
lib:libz$secondaryArchSuffix
|
2015-11-22 12:02:13 +00:00
|
|
|
"
|
|
|
|
|
|
|
|
BUILD_REQUIRES="
|
|
|
|
haiku${secondaryArchSuffix}_devel
|
|
|
|
devel:libglib_2.0$secondaryArchSuffix
|
2018-08-09 08:34:39 +00:00
|
|
|
devel:libgmp$secondaryArchSuffix
|
2015-11-22 12:02:13 +00:00
|
|
|
devel:libgnutls$secondaryArchSuffix
|
|
|
|
devel:libnettle$secondaryArchSuffix
|
|
|
|
devel:libtasn1$secondaryArchSuffix
|
2018-08-09 08:34:39 +00:00
|
|
|
devel:libxml2$secondaryArchSuffix
|
|
|
|
devel:libz$secondaryArchSuffix
|
2015-11-22 12:02:13 +00:00
|
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
2018-08-09 08:34:39 +00:00
|
|
|
cmd:aclocal
|
|
|
|
cmd:autoconf
|
2015-11-22 12:02:13 +00:00
|
|
|
cmd:gcc$secondaryArchSuffix
|
2018-08-09 08:34:39 +00:00
|
|
|
cmd:intltool_update
|
2015-11-22 12:02:13 +00:00
|
|
|
cmd:ld$secondaryArchSuffix
|
2016-08-31 20:49:07 +00:00
|
|
|
cmd:libtoolize$secondaryArchSuffix
|
2015-11-22 12:02:13 +00:00
|
|
|
cmd:make
|
|
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
|
|
cmd:python
|
|
|
|
"
|
|
|
|
|
|
|
|
BUILD()
|
|
|
|
{
|
|
|
|
libtoolize --force --copy --install
|
|
|
|
aclocal
|
|
|
|
autoconf
|
|
|
|
runConfigure ./configure --disable-maintainer-mode \
|
|
|
|
--with-ca-certificates=/boot/system/data/ssl/CARootCertificates.pem \
|
|
|
|
CFLAGS=-D_BSD_SOURCE
|
|
|
|
|
2016-08-31 20:49:07 +00:00
|
|
|
make $jobArgs
|
2015-11-22 12:02:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
INSTALL()
|
|
|
|
{
|
|
|
|
find -type f -name 'Makefile' -exec sed -i "s|^GIO_MODULE_DIR =.*|GIO_MODULE_DIR = $libDir/gio/modules|g" {} \;
|
|
|
|
make install
|
|
|
|
}
|