wok-current annotate gvfs/receipt @ rev 12017

Up zim 0.55
author Antoine Bodin <gokhlayeh@slitaz.org>
date Tue Mar 06 13:37:22 2012 +0100 (2012-03-06)
parents
children 9bac87fce4e1
rev   line source
pascal@11222 1 # SliTaz package receipt.
pascal@11222 2
pascal@11222 3 PACKAGE="gvfs"
pascal@11222 4 VERSION="1.6.6"
pascal@11222 5 CATEGORY="system-tools"
pascal@11222 6 SHORT_DESC="Userspace virtual filesystem designed to work with gio."
pascal@11222 7 MAINTAINER="pankso@slitaz.org"
pascal@11222 8 DEPENDS="GConf dbus hal glib gnome-keyring"
pascal@11222 9 BUILD_DEPENDS="GConf-dev dbus-dev hal-dev glib-dev gnome-keyring-dev"
pascal@11222 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@11222 11 WEB_SITE="http://www.gnome.org/"
pascal@11222 12 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
pascal@11222 13
pascal@11222 14 # Rules to configure and make the package.
pascal@11222 15 compile_rules()
pascal@11222 16 {
pascal@11222 17 cd $src
pascal@11222 18 grep -rl gio/gdesktopappinfo.h . | xargs sed -i \
pascal@11222 19 's|.*gio/gdesktopappinfo.h.*|#ifdef G_DISABLE_DEPRECATED\n#undef G_DISABLE_DEPRECATED\n&\n#define G_DISABLE_DEPRECATED\n#else\n&\n#endif|'
pascal@11222 20 ./configure \
pascal@11222 21 --libexecdir=/usr/lib/$PACKAGE \
pascal@11222 22 --sysconfdir=/etc \
pascal@11222 23 --disable-gphoto2 \
pascal@11222 24 --disable-avahi \
pascal@11222 25 --disable-samba &&
pascal@11222 26 make && make install
pascal@11222 27 }
pascal@11222 28
pascal@11222 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11222 30 genpkg_rules()
pascal@11222 31 {
pascal@11222 32 mkdir -p $fs/usr/lib $fs/usr/share
pascal@11222 33 cp -a $_pkg/etc $fs
pascal@11222 34 cp -a $_pkg/usr/bin $fs/usr
pascal@11222 35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pascal@11222 36 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
pascal@11222 37 cp -a $_pkg/usr/lib/gio $fs/usr/lib
pascal@11222 38 cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
pascal@11222 39 cp -a $_pkg/usr/share/gvfs $fs/usr/share
pascal@11222 40 rm $fs/usr/lib/gio/modules/*.*a
pascal@11222 41 strip -s $fs/usr/lib/$PACKAGE/* 2>/dev/null
pascal@11222 42 }