wok-next annotate dbus-glib/receipt @ rev 10360

dbus-glib: can't cross compile
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 23 00:13:43 2011 +0200 (2011-05-23)
parents a0e96256c82a
children 455fab64530b
rev   line source
pankso@791 1 # SliTaz package receipt.
pankso@791 2
pankso@791 3 PACKAGE="dbus-glib"
slaxemulator@7213 4 VERSION="0.92"
pankso@791 5 CATEGORY="x-window"
pankso@791 6 SHORT_DESC="D-Bus glib binding."
pankso@791 7 MAINTAINER="pankso@slitaz.org"
pankso@791 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@791 9 WEB_SITE="http://freedesktop.org/wiki/Software/DBusBindings"
pankso@791 10 WGET_URL="http://dbus.freedesktop.org/releases/dbus-glib/$TARBALL"
pankso@10360 11 CROSS="bug: can not run test program"
pankso@10360 12
pankso@10360 13 DEPENDS="dbus glib expat"
pankso@10360 14 BUILD_DEPENDS="dbus-dev glib-dev expat-dev pkg-config gettext"
pankso@791 15
pankso@791 16 # Rules to configure and make the package.
pankso@791 17 compile_rules()
pankso@791 18 {
pankso@791 19 cd $src
pankso@791 20 ./configure \
pankso@791 21 --prefix=/usr \
pankso@10360 22 --build=$HOST_SYSTEM \
pankso@10360 23 --host=$HOST_SYSTEM &&
pankso@10360 24 make && make install
pankso@791 25 }
pankso@791 26
pankso@791 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@791 28 genpkg_rules()
pankso@791 29 {
pankso@791 30 mkdir -p $fs/usr/lib
pankso@791 31 cp -a $_pkg/usr/bin $fs/usr
pankso@791 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@791 33 }