2008-02-23 19:28:40 +11:00
|
|
|
# Description: HTTP library implementation in C.
|
2017-01-28 18:07:09 +11:00
|
|
|
# URL: https://wiki.gnome.org/action/show/Projects/libsoup
|
2014-11-10 23:28:07 +11:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2008-02-23 19:28:40 +11:00
|
|
|
# Packager: Matt Housh, jaeger at morpheus dot net
|
2017-01-28 18:07:09 +11:00
|
|
|
# Depends on: glib-networking gobject-introspection krb5 libxml2
|
2016-03-08 15:09:12 +11:00
|
|
|
# Optional: vala
|
|
|
|
|
2008-02-23 19:28:40 +11:00
|
|
|
name=libsoup
|
2017-11-26 20:21:03 +11:00
|
|
|
version=2.60.2
|
2017-01-01 19:12:35 +11:00
|
|
|
release=1
|
2017-01-28 18:07:09 +11:00
|
|
|
source=(https://ftp.gnome.org/pub/gnome/sources/$name/${version%.*}/$name-$version.tar.xz)
|
2008-02-23 19:28:40 +11:00
|
|
|
|
|
|
|
build() {
|
2009-05-10 16:30:48 +10:00
|
|
|
cd $name-$version
|
2008-02-23 19:28:40 +11:00
|
|
|
|
2016-03-08 15:09:12 +11:00
|
|
|
local VALA
|
|
|
|
if [ "$(pkginfo -i | grep '^vala ')" ]; then
|
|
|
|
VALA='--enable-vala=yes'
|
|
|
|
else
|
|
|
|
VALA='--enable-vala=no'
|
|
|
|
fi
|
2008-02-23 19:28:40 +11:00
|
|
|
|
2016-03-08 15:09:12 +11:00
|
|
|
./configure --prefix=/usr $VALA
|
2008-02-23 19:28:40 +11:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2012-11-02 19:40:46 +11:00
|
|
|
|
2013-03-24 23:32:29 +11:00
|
|
|
rm -r $PKG/usr/share/{locale,gtk-doc}
|
2008-02-23 19:28:40 +11:00
|
|
|
}
|