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

configure() {
    run meson _build "${configopts[@]}"
}

build() {
    run ninja -C _build
}

install() {
    export DESTDIR=$SERENITY_BUILD_DIR/Root
    run meson install -C _build
}