wok-next view gvfs/receipt @ rev 11333

Up: ncdu (1.8)
author Alexander Medvedev <devl547@gmail.com>
date Fri Nov 25 08:14:49 2011 +0000 (2011-11-25)
parents
children 9bac87fce4e1
line source
1 # SliTaz package receipt.
3 PACKAGE="gvfs"
4 VERSION="1.6.6"
5 CATEGORY="system-tools"
6 SHORT_DESC="Userspace virtual filesystem designed to work with gio."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="GConf dbus hal glib gnome-keyring"
9 BUILD_DEPENDS="GConf-dev dbus-dev hal-dev glib-dev gnome-keyring-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.gnome.org/"
12 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 grep -rl gio/gdesktopappinfo.h . | xargs sed -i \
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|'
20 ./configure \
21 --libexecdir=/usr/lib/$PACKAGE \
22 --sysconfdir=/etc \
23 --disable-gphoto2 \
24 --disable-avahi \
25 --disable-samba &&
26 make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib $fs/usr/share
33 cp -a $_pkg/etc $fs
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
37 cp -a $_pkg/usr/lib/gio $fs/usr/lib
38 cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
39 cp -a $_pkg/usr/share/gvfs $fs/usr/share
40 rm $fs/usr/lib/gio/modules/*.*a
41 strip -s $fs/usr/lib/$PACKAGE/* 2>/dev/null
42 }