wok-next view dbus-glib/receipt @ rev 20732

Some python-* packaged using pip: actualize $VERSION in genpkg_rules()
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue May 29 17:01:41 2018 +0300 (2018-05-29)
parents 0e7893ac206d
children 342b30daff76
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 LFS="http://www.linuxfromscratch.org/blfs/view/stable/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 libffi-dev pcre-dev \
49 util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \
50 zlib-dev"
51 ;;
52 esac
53 }