wok-4.x diff gvfs/receipt @ rev 11311
claws-mail: Change DEPENDS
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Mon Nov 14 04:47:39 2011 +0100 (2011-11-14) |
parents | |
children | 9bac87fce4e1 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gvfs/receipt Mon Nov 14 04:47:39 2011 +0100 1.3 @@ -0,0 +1,42 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="gvfs" 1.7 +VERSION="1.6.6" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="Userspace virtual filesystem designed to work with gio." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +DEPENDS="GConf dbus hal glib gnome-keyring" 1.12 +BUILD_DEPENDS="GConf-dev dbus-dev hal-dev glib-dev gnome-keyring-dev" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 +WEB_SITE="http://www.gnome.org/" 1.15 +WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + grep -rl gio/gdesktopappinfo.h . | xargs sed -i \ 1.22 +'s|.*gio/gdesktopappinfo.h.*|#ifdef G_DISABLE_DEPRECATED\n#undef G_DISABLE_DEPRECATED\n&\n#define G_DISABLE_DEPRECATED\n#else\n&\n#endif|' 1.23 + ./configure \ 1.24 + --libexecdir=/usr/lib/$PACKAGE \ 1.25 + --sysconfdir=/etc \ 1.26 + --disable-gphoto2 \ 1.27 + --disable-avahi \ 1.28 + --disable-samba && 1.29 + make && make install 1.30 +} 1.31 + 1.32 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.33 +genpkg_rules() 1.34 +{ 1.35 + mkdir -p $fs/usr/lib $fs/usr/share 1.36 + cp -a $_pkg/etc $fs 1.37 + cp -a $_pkg/usr/bin $fs/usr 1.38 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.39 + cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib 1.40 + cp -a $_pkg/usr/lib/gio $fs/usr/lib 1.41 + cp -a $_pkg/usr/share/dbus-1 $fs/usr/share 1.42 + cp -a $_pkg/usr/share/gvfs $fs/usr/share 1.43 + rm $fs/usr/lib/gio/modules/*.*a 1.44 + strip -s $fs/usr/lib/$PACKAGE/* 2>/dev/null 1.45 +}