wok-6.x annotate dbus-glib/receipt @ rev 21003
updated grooms (1.0.5 -> 1.0.9)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 08 17:22:14 2019 +0100 (2019-03-08) |
parents | 9c7363f54032 |
children | 916ebbb03a03 |
rev | line source |
---|---|
pankso@791 | 1 # SliTaz package receipt. |
pankso@791 | 2 |
pankso@791 | 3 PACKAGE="dbus-glib" |
psychomaniak@16973 | 4 VERSION="0.102" |
pankso@791 | 5 CATEGORY="x-window" |
pankso@791 | 6 SHORT_DESC="D-Bus glib binding." |
pankso@791 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
pankso@791 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@791 | 10 WEB_SITE="http://freedesktop.org/wiki/Software/DBusBindings" |
pankso@791 | 11 WGET_URL="http://dbus.freedesktop.org/releases/dbus-glib/$TARBALL" |
pankso@16129 | 12 HOST_ARCH="i486 arm" |
pankso@10360 | 13 |
gokhlayeh@11363 | 14 DEPENDS="dbus libgio expat" |
pankso@16129 | 15 BUILD_DEPENDS="dbus-dev glib-dev libgio-dev expat-dev pkg-config gettext" |
pankso@16129 | 16 |
pankso@16129 | 17 # Handle cross compilation. Host pkg-config/gettext are used |
pankso@16129 | 18 case "$ARCH" in |
pankso@16129 | 19 arm*) |
pankso@16129 | 20 BUILD_DEPENDS="dbus-dev glib-dev libgio-dev expat-dev" |
pankso@16129 | 21 export ac_cv_have_abstract_sockets=${ac_cv_have_abstract_sockets=yes} ;; |
pankso@16129 | 22 esac |
pankso@791 | 23 |
pankso@791 | 24 # Rules to configure and make the package. |
pankso@791 | 25 compile_rules() |
pankso@791 | 26 { |
pankso@16129 | 27 ./configure $CONFIGURE_ARGS && |
pankso@16129 | 28 case "$ARCH" in |
pankso@16129 | 29 arm) |
pankso@16129 | 30 patch -p1 < $stuff/dbus-glib.patch && |
pankso@16129 | 31 patch -p0 < $stuff/dbus.patch ;; |
pankso@16129 | 32 esac && |
pankso@10360 | 33 make && make install |
pankso@791 | 34 } |
pankso@791 | 35 |
pankso@791 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@791 | 37 genpkg_rules() |
pankso@791 | 38 { |
pankso@791 | 39 mkdir -p $fs/usr/lib |
slaxemulator@11090 | 40 cp -a $install/usr/bin $fs/usr |
slaxemulator@11090 | 41 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@791 | 42 } |