wok view dbus-glib/receipt @ rev 22634
updated dbus-glib and dbus-glib-dev (0.102 -> 0.110)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jan 13 14:09:49 2020 +0100 (2020-01-13) |
parents | 2429812d90ab |
children | 3e9a9990c985 |
line source
1 # SliTaz package receipt.
3 PACKAGE="dbus-glib"
4 VERSION="0.110"
5 CATEGORY="x-window"
6 SHORT_DESC="D-Bus glib binding."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://freedesktop.org/wiki/Software/DBusBindings/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://dbus.freedesktop.org/releases/dbus-glib/$TARBALL"
14 DEPENDS="dbus expat libgio"
15 BUILD_DEPENDS="dbus-dev expat-dev gettext glib-dev libgio-dev pkg-config"
17 HOST_ARCH="i486 arm"
19 # Handle cross compilation. Host pkg-config/gettext are used
20 case "$ARCH" in
21 arm*)
22 BUILD_DEPENDS="dbus-dev expat-dev glib-dev libgio-dev"
23 export ac_cv_have_abstract_sockets=${ac_cv_have_abstract_sockets=yes} ;;
24 esac
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure $CONFIGURE_ARGS &&
30 case "$ARCH" in
31 arm)
32 patch -p1 < $stuff/dbus-glib.patch &&
33 patch -p0 < $stuff/dbus.patch ;;
34 esac &&
35 make &&
36 make install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib
44 cp -a $install/usr/bin $fs/usr
45 cp -a $install/usr/lib/*.so* $fs/usr/lib
46 }