summaryrefslogtreecommitdiff
path: root/repo/glib-networking/glib-networking.xibuild
blob: 03e746aeea6e5e3c4bfb9251898db213cd5d532e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh

NAME="glib-networking"
DESC="Networking support for GLib"

MAKEDEPS="meson ninja "
DEPS="glib cacerts gnutls gsettings-desktop-schemas intltool musl libproxy"

PKG_VER=2.72.2
SOURCE="https://download.gnome.org/sources/glib-networking/${PKG_VER%.*}/glib-networking-$PKG_VER.tar.xz"

build () {
    mkdir build &&
    cd build    &&
    meson --prefix=/usr \
    		-Dopenssl=disabled \
            -Dgnutls=enabled \
            .. &&
    ninja
}

package () {
    DESTDIR=$PKG_DEST ninja install
}