wok-current view dbus-glib/receipt @ rev 21116
Up reiserfsprogs (3.6.27)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 19 19:34:17 2019 +0100 (2019-03-19) |
parents | 9c7363f54032 |
children | 916ebbb03a03 |
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"
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 }