wok-next view glib/receipt @ 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 | d5aab818505e |
children | 7c5d038be95b |
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="automake libtool zlib-dev libffi-dev gettext-dev \
16 util-linux-mount-dev pcre-dev libxslt docbook-xsl elfutils-dev"
17 SPLIT="$PACKAGE-static $PACKAGE-dev $PACKAGE"
19 COPY_static="*.a"
20 COPY_dev="gdbus-codegen gobject-query bin/gresource bin/gtester* \
21 bin/glib-gettextize bin/glib-mkenums gdb/ gettext/ glib-2.0/ @dev @rm"
23 DEPENDS_std="libffi libpcre util-linux-mount zlib"
24 DEPENDS_dev="glib elfutils libffi libpcre pcre-dev python util-linux-mount-dev \
25 zlib-dev perl"
27 CAT_static="development|static libraries"
29 compile_rules() {
30 # --enable-static: desktop-file-validate-static require such lib
31 ./autogen.sh \
32 --enable-debug=no \
33 --enable-static \
34 --disable-selinux \
35 --disable-fam \
36 --enable-man \
37 $CONFIGURE_ARGS &&
38 fix libtool &&
39 make &&
40 make install
41 }