smlinux/base/glib/glib.SMBuild

36 lines
808 B
Text
Executable file

app=glib
version=2.66.4
build=1sml
homepage="https://gitlab.gnome.org/GNOME/glib"
download="https://download.gnome.org/sources/glib/2.66/glib-$version.tar.xz"
desc="library of C routines"
requires="libffi util-linux pcre python3 gettext meson"
build() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
mkdir smbuild && cd smbuild
meson .. --prefix="/" \
-Dman=false \
-Dgtk_doc=false \
-Dselinux=disabled \
-Dnls=disabled \
-Dinstalled_tests=false
ninja
DESTDIR="$pkg" ninja install
cp ../COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
40447b57dec2990e9cb8a5c273c81c4848bad036ab9bf6d7da2c9755782290acef5b085296cb98866832c8076a670ab970d113317da769f6d0da8cd0fe249118 glib-2.66.4.tar.lz
"