wok-next view dbus-glib/receipt @ rev 19879
qemacs: does not need gcc3
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 04 18:36:44 2017 +0200 (2017-10-04) |
parents | e70c0b9c5adf |
children | ab7c63b80420 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="dbus-glib"
4 VERSION="0.108"
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 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://dbus.freedesktop.org/releases/dbus-glib/$TARBALL"
15 BUILD_DEPENDS="dbus-dev glib-dev expat-dev gettext gtk-doc"
16 BUILD_DEPENDS_arm="dbus-dev glib-dev expat-dev"
17 SPLIT="dbus-glib-dev"
19 # Handle cross compilation. Host pkg-config/gettext are used
20 case "$ARCH" in
21 arm*)
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 \
29 --sysconfdir=/etc \
30 --disable-static \
31 $CONFIGURE_ARGS &&
32 case "$ARCH" in
33 arm)
34 patch -p1 < $stuff/dbus-glib.patch &&
35 patch -p0 < $stuff/dbus.patch ;;
36 esac &&
37 make && make install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 case $PACKAGE in
44 dbus-glib)
45 copy bin/ *.so* # exclude bash completion
46 DEPENDS="dbus glib expat"
47 ;;
48 *-dev)
49 copy @dev
50 DEPENDS="dbus-glib dbus-dev glib-dev"
51 ;;
52 esac
53 }