wok-next view glib/stuff/receipt.meson @ rev 21071
Update atkmm, cairo, cmake, db, elfutils, emacs, glib, glib-networking, glibmm, gobject-introspection, libsigc++, meson, openssl, zstd
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 13 00:46:54 2018 +0200 (2018-12-13) |
parents | |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="glib"
4 VERSION="2.58.1"
5 CATEGORY="x-window"
6 SHORT_DESC="C routines"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://developer.gnome.org/glib/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/glib2.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS="meson ninja cmake pcre-dev libffi-dev zlib-dev gettext-dev \
16 util-linux-mount-dev libxml2-tools elfutils-dev dbus-dev libxslt"
17 SPLIT="$PACKAGE-static $PACKAGE-dev $PACKAGE"
19 COPY_static="*.a"
20 COPY_dev="gdbus-codegen gobject-query bin/gresource bin/gtester* bin/glib-* \
21 gdb/ gettext/ glib-2.0/ @dev @rm"
23 DEPENDS_std="elfutils libffi libpcre util-linux-mount zlib"
24 DEPENDS_dev="glib libffi-dev pcre-dev python util-linux-mount-dev zlib-dev perl"
26 CAT_static="development|static libraries"
28 compile_rules() {
29 mkdir build-glib # build/ already exists
30 cd build-glib
32 meson-wrapper \
33 --default-library=both \
34 -Dselinux=false \
35 -Dman=true \
36 &&
37 ninja &&
38 ninja install
39 }