wok-next view dbus-glib/receipt @ rev 19731
Up tcc (20170515) again
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 25 19:02:05 2017 +0200 (2017-05-25) |
parents | 2429812d90ab |
children | e70c0b9c5adf |
line source
1 # SliTaz package receipt.
3 PACKAGE="dbus-glib"
4 VERSION="0.102"
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 \
16 gtk-doc"
18 # Handle cross compilation. Host pkg-config/gettext are used
19 case "$ARCH" in
20 arm*)
21 BUILD_DEPENDS="dbus-dev glib-dev libgio-dev expat-dev"
22 export ac_cv_have_abstract_sockets=${ac_cv_have_abstract_sockets=yes} ;;
23 esac
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure $CONFIGURE_ARGS &&
29 case "$ARCH" in
30 arm)
31 patch -p1 < $stuff/dbus-glib.patch &&
32 patch -p0 < $stuff/dbus.patch ;;
33 esac &&
34 make && make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 }