summaryrefslogtreecommitdiff
path: root/Ports/glib/package.sh
blob: cbfe7de9e2cd734e812bfc93d30655f4c0485b8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/env -S bash ../.port_include.sh
port=glib
version=2.69.0
depends="libiconv libffi zlib gettext"
useconfigure=true
configopts="--cross-file ../cross_file-$SERENITY_ARCH.txt"
files="https://gitlab.gnome.org/GNOME/glib/-/archive/2.69.0/glib-${version}.tar.gz glib-${version}.tar.gz 35af83aedf34b96f1e99ed9c995c50960509f504750fb4def2440a9406b00a95"
auth_type=sha256

configure() {
    run meson _build $configopts
}

build() {
    run ninja -C _build
}

install() {
    run meson install -C _build --destdir $SERENITY_BUILD_DIR/Root
}