forked from ports/contrib
29 lines
684 B
Plaintext
29 lines
684 B
Plaintext
# Description: HTTP library implementation in C.
|
|
# URL: https://wiki.gnome.org/action/show/Projects/libsoup
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Packager: Matt Housh, jaeger at morpheus dot net
|
|
# Depends on: glib-networking gobject-introspection krb5 libxml2
|
|
# Optional: vala
|
|
|
|
name=libsoup
|
|
version=2.60.2
|
|
release=1
|
|
source=(https://ftp.gnome.org/pub/gnome/sources/$name/${version%.*}/$name-$version.tar.xz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
local VALA
|
|
if [ "$(pkginfo -i | grep '^vala ')" ]; then
|
|
VALA='--enable-vala=yes'
|
|
else
|
|
VALA='--enable-vala=no'
|
|
fi
|
|
|
|
./configure --prefix=/usr $VALA
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -r $PKG/usr/share/{locale,gtk-doc}
|
|
}
|