wok view gvfs/receipt @ rev 14509

get-src2pkg: fix pkg name
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 14 07:41:25 2013 +0200 (2013-05-14)
parents d10ad51da318
children 380ffe05937a
line source
1 # SliTaz package receipt.
3 PACKAGE="gvfs"
4 VERSION="1.13.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Userspace virtual filesystem designed to work with gio."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.xz"
9 WEB_SITE="http://www.gnome.org/"
10 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
11 DEPENDS="dbus glib udev libgudev fuse udisks2"
12 BUILD_DEPENDS="dbus-dev glib-dev udev-dev libgudev-dev fuse-dev \
13 udisks2-dev samba-dev smbclient"
14 SUGGESTED="gvfs-smb"
15 #gvfs-smb enables samba support
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --libexecdir=/usr/lib/$PACKAGE \
24 --sysconfdir=/etc \
25 --disable-gphoto2 \
26 --disable-avahi \
27 --disable-keyring \
28 --disable-hal \
29 --disable-afp \
30 --disable-bash-completion &&
31 make && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/lib $fs/usr
40 cp -a $install/usr/share/dbus-1 $fs/usr/share
41 cp -a $install/usr/share/gvfs $fs/usr/share
42 cp -a $install/usr/share/glib-* $fs/usr/share
43 rm -f $(find ${fs} -name *.*a)
44 #following files are provided by gvfs-smb
45 rm $fs/usr/lib/gvfs/gvfsd-smb*
46 rm $fs/usr/share/gvfs/mounts/smb*
47 rm $fs/usr/share/glib-2.0/schemas/*smb*
48 ##following files are provided by gvfs-udisks2
49 #rm $fs/usr/lib/gvfs/gvfs-udisks2-volume-monitor
50 #rm $fs/usr/share/dbus-1/services/org.gtk.Private.UDisks2VolumeMonitor.service
51 #rm $fs/usr/share/gvfs/remote-volume-monitors/udisks2.monitor
52 }