wok-next view glib/receipt @ rev 21592
updated dkms (2.1.1.2 -> 2.8.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 24 07:35:54 2020 +0100 (2020-06-24) |
parents | 4d9f82dabdbb |
children | 1864ba66f0b2 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="glib"
4 VERSION="2.58.2"
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"
14 TARBALL_SHA1="9831bbdca749a42526d0afc4b31799e8be22037c"
16 BUILD_DEPENDS="automake libtool zlib-dev libffi-dev gettext-dev \
17 util-linux-mount-dev pcre-dev libxslt docbook-xsl elfutils-dev"
18 SPLIT="$PACKAGE-static $PACKAGE-dev $PACKAGE"
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 python \
26 util-linux-mount-dev zlib-dev perl"
28 CAT_static="development|static libraries"
30 compile_rules() {
31 # --enable-static: desktop-file-validate-static require such lib
32 ./autogen.sh \
33 --enable-debug=no \
34 --enable-static \
35 --disable-selinux \
36 --disable-fam \
37 --enable-man \
38 $CONFIGURE_ARGS &&
39 fix libtool &&
40 make &&
41 make install
42 }