wok-4.x view gvfs/receipt @ rev 12449

lighttpd, mutt: update CONFIG_FILES (thanks emgi)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 08 13:07:27 2015 +0100 (2015-02-08)
parents 9bac87fce4e1
children
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 intltool libgio-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.gnome.org/"
13 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 grep -rl gio/gdesktopappinfo.h . | xargs sed -i \
20 's|.*gio/gdesktopappinfo.h.*|#ifdef G_DISABLE_DEPRECATED\n#undef G_DISABLE_DEPRECATED\n&\n#define G_DISABLE_DEPRECATED\n#else\n&\n#endif|'
21 ./configure \
22 --libexecdir=/usr/lib/$PACKAGE \
23 --sysconfdir=/etc \
24 --disable-gphoto2 \
25 --disable-avahi \
26 --disable-samba &&
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib $fs/usr/share
34 cp -a $_pkg/etc $fs
35 cp -a $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
37 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
38 cp -a $_pkg/usr/lib/gio $fs/usr/lib
39 cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
40 cp -a $_pkg/usr/share/gvfs $fs/usr/share
41 rm $fs/usr/lib/gio/modules/*.*a
42 strip -s $fs/usr/lib/$PACKAGE/* 2>/dev/null
43 }