wok-next view dbus-glib/receipt @ rev 16420
Add jansson and mygestures for mouse-gesture on touchscreen
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Apr 18 01:43:00 2014 +0200 (2014-04-18) |
parents | 7896f0694ef6 |
children | 2429812d90ab |
line source
1 # SliTaz package receipt.
3 PACKAGE="dbus-glib"
4 VERSION="0.100"
5 CATEGORY="x-window"
6 SHORT_DESC="D-Bus glib binding."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://freedesktop.org/wiki/Software/DBusBindings"
11 WGET_URL="http://dbus.freedesktop.org/releases/dbus-glib/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="dbus libgio expat"
15 BUILD_DEPENDS="dbus-dev glib-dev libgio-dev expat-dev pkg-config gettext"
17 # Handle cross compilation. Host pkg-config/gettext are used
18 case "$ARCH" in
19 arm*)
20 BUILD_DEPENDS="dbus-dev glib-dev libgio-dev expat-dev"
21 export ac_cv_have_abstract_sockets=${ac_cv_have_abstract_sockets=yes} ;;
22 esac
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure $CONFIGURE_ARGS &&
28 case "$ARCH" in
29 arm)
30 patch -p1 < $stuff/dbus-glib.patch &&
31 patch -p0 < $stuff/dbus.patch ;;
32 esac &&
33 make && make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 }