wok-next view dbus-glib/receipt @ rev 20895
dbus-glib: up (0.110); dbus: up (1.12.8); dconf: up (0.28.0)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jul 20 15:35:05 2018 +0300 (2018-07-20) |
parents | 342b30daff76 |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="dbus-glib"
4 VERSION="0.110"
5 CATEGORY="x-window"
6 SHORT_DESC="GLib interfaces to the D-Bus API"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://freedesktop.org/wiki/Software/DBusBindings/#dbus-glibobsoleteunmaintained"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/dbus-glib.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://dbus.freedesktop.org/releases/dbus-glib/$TARBALL"
15 BUILD_DEPENDS_arm="dbus-dev glib-dev expat-dev"
16 BUILD_DEPENDS="dbus-dev glib-dev expat-dev gettext gtk-doc"
17 SPLIT="dbus-glib-dev"
19 compile_rules() {
20 case "$ARCH" in
21 arm*) export ac_cv_have_abstract_sockets=${ac_cv_have_abstract_sockets=yes} ;;
22 esac
24 ./configure \
25 --disable-static \
26 --disable-bash-completion \
27 $CONFIGURE_ARGS || return 1
29 case "$ARCH" in
30 arm)
31 patch -p1 < $stuff/dbus-glib.patch &&
32 patch -p0 < $stuff/dbus.patch ;;
33 esac
35 fix libtool
36 make &&
37 make install
38 }
40 genpkg_rules() {
41 case $PACKAGE in
42 dbus-glib)
43 copy @std
44 DEPENDS="dbus expat glib"
45 ;;
46 *-dev)
47 copy @dev
48 DEPENDS="dbus-glib dbus-dev glib-dev"
49 ;;
50 esac
51 }