wok-next annotate dbus-glib/receipt @ rev 20775
quodlibet: remove non-existent package from bdeps
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 06 20:44:57 2018 +0300 (2018-06-06) |
parents | 757d032c55c7 |
children | ccb66c3dd643 |
rev | line source |
---|---|
al@19781 | 1 # SliTaz package receipt v2. |
pankso@791 | 2 |
pankso@791 | 3 PACKAGE="dbus-glib" |
al@19781 | 4 VERSION="0.108" |
pankso@791 | 5 CATEGORY="x-window" |
al@19781 | 6 SHORT_DESC="GLib interfaces to the D-Bus API" |
pankso@791 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
al@19781 | 9 WEB_SITE="https://freedesktop.org/wiki/Software/DBusBindings/#dbus-glibobsoleteunmaintained" |
al@20405 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/dbus-glib.html" |
pankso@10360 | 11 |
al@19781 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19781 | 13 WGET_URL="http://dbus.freedesktop.org/releases/dbus-glib/$TARBALL" |
al@19781 | 14 |
al@20405 | 15 BUILD_DEPENDS_arm="dbus-dev glib-dev expat-dev" |
al@19781 | 16 BUILD_DEPENDS="dbus-dev glib-dev expat-dev gettext gtk-doc" |
al@19781 | 17 SPLIT="dbus-glib-dev" |
pankso@16129 | 18 |
al@20405 | 19 compile_rules() { |
al@20405 | 20 case "$ARCH" in |
al@20405 | 21 arm*) export ac_cv_have_abstract_sockets=${ac_cv_have_abstract_sockets=yes} ;; |
al@20405 | 22 esac |
al@20405 | 23 |
al@19781 | 24 ./configure \ |
al@19781 | 25 --disable-static \ |
al@20405 | 26 --disable-bash-completion \ |
al@20405 | 27 $CONFIGURE_ARGS || return 1 |
al@20405 | 28 |
pankso@16129 | 29 case "$ARCH" in |
pankso@16129 | 30 arm) |
pankso@16129 | 31 patch -p1 < $stuff/dbus-glib.patch && |
pankso@16129 | 32 patch -p0 < $stuff/dbus.patch ;; |
al@20405 | 33 esac |
al@20405 | 34 |
al@20405 | 35 fix libtool |
al@20534 | 36 make && |
al@20534 | 37 make install |
pankso@791 | 38 } |
pankso@791 | 39 |
al@20405 | 40 genpkg_rules() { |
al@19781 | 41 case $PACKAGE in |
al@19781 | 42 dbus-glib) |
al@20405 | 43 copy @std |
al@20405 | 44 DEPENDS="dbus expat glib" |
al@19781 | 45 ;; |
al@19781 | 46 *-dev) |
al@19781 | 47 copy @dev |
al@20749 | 48 DEPENDS="dbus-glib dbus-dev glib-dev" |
al@19781 | 49 ;; |
al@19781 | 50 esac |
pankso@791 | 51 } |