wok-current view dbus-glib/receipt @ rev 24857
updated links and links-dfb (2.20.2 -> 2.25)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 28 17:04:25 2022 +0100 (2022-03-28) |
parents | 916ebbb03a03 |
children | 3ad63c8fc2f9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="dbus-glib"
4 VERSION="0.110"
5 CATEGORY="x-window"
6 SHORT_DESC="D-Bus glib binding."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://freedesktop.org/wiki/Software/DBusBindings/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://dbus.freedesktop.org/releases/dbus-glib/$TARBALL"
14 DEPENDS="dbus expat libgio"
15 BUILD_DEPENDS="dbus-dev expat-dev gettext glib-dev libgio-dev pkg-config"
17 HOST_ARCH="i486 arm"
19 # Handle cross compilation. Host pkg-config/gettext are used
20 case "$ARCH" in
21 arm*)
22 BUILD_DEPENDS="dbus-dev expat-dev glib-dev libgio-dev"
23 export ac_cv_have_abstract_sockets=${ac_cv_have_abstract_sockets=yes} ;;
24 esac
26 current_version()
27 {
28 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
29 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
30 }
32 # Rules to configure and make the package.
33 compile_rules()
34 {
35 ./configure $CONFIGURE_ARGS &&
36 case "$ARCH" in
37 arm)
38 patch -p1 < $stuff/dbus-glib.patch &&
39 patch -p0 < $stuff/dbus.patch ;;
40 esac &&
41 make &&
42 make install
43 }
45 # Rules to gen a SliTaz package suitable for Tazpkg.
46 genpkg_rules()
47 {
48 mkdir -p $fs/usr/lib
50 cp -a $install/usr/bin $fs/usr
51 cp -a $install/usr/lib/*.so* $fs/usr/lib
52 }