summaryrefslogtreecommitdiff
path: root/repo/glib-networking/glib-networking.xibuild
blob: 88e7244cdcc7c9d5f975bc970c56c66126e486c1 (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.0
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
}