wok view dbus-glib/receipt @ rev 23064
waterline-plugin-multiload: use lxpanel private types
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 08 16:25:39 2020 +0100 (2020-03-08) |
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 }