wok-next view glib/receipt @ rev 21700

updated gphoto2 (2.5.15 -> 2.5.23)
author Hans-G?nter Theisgen
date Tue Jun 30 17:45:45 2020 +0100 (2020-06-30)
parents 7c5d038be95b
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="glib"
4 VERSION="2.64.3"
5 CATEGORY="x-window"
6 SHORT_DESC="C routines"
7 MAINTAINER="maintainer@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"
14 TARBALL_SHA256="fe9cbc97925d14c804935f067a3ad77ef55c0bbe9befe68962318f5a767ceb22"
16 BUILD_DEPENDS="docbook-xsl elfutils-dev gettext-dev libffi-dev libxslt
17 meson ninja pcre-dev util-linux-mount-dev zlib-dev"
18 SPLIT="$PACKAGE-static $PACKAGE-dev $PACKAGE $PACKAGE-lang"
20 COPY_static="*.a"
21 COPY_dev="gdbus-codegen gobject-query bin/gresource bin/gtester* \
22 bin/glib-gettextize bin/glib-mkenums gdb/ gettext/ glib-2.0/ @dev @rm"
24 DEPENDS_std="libffi libpcre util-linux-mount zlib"
25 DEPENDS_dev="$PACKAGE elfutils libffi libpcre pcre-dev perl python
26 util-linux-mount-dev zlib-dev"
28 CAT_static="development|static libraries"
30 compile_rules()
31 {
32 # --enable-static: desktop-file-validate-static require such lib
33 # ./autogen.sh \
34 # --enable-debug=no \
35 # --enable-static \
36 # --disable-selinux \
37 # --disable-fam \
38 # --enable-man \
39 # $CONFIGURE_ARGS &&
40 # fix libtool &&
41 # make &&
42 # make install
44 # --default-library=both: desktop-file-validate-static requires such library
45 meson build \
46 --prefix=/usr \
47 --default-library=both \
48 -Dman=true &&
49 ninja -C build &&
50 ninja -C build install
51 }