wok-6.x view gvfs/receipt @ rev 15000

Add some GPL2 licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 10 17:00:38 2013 +0000 (2013-08-10)
parents 58941a070b50
children 96fd065ed4ea
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://www.gnome.org/"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
12 SUGGESTED="gvfs-smb"
13 #gvfs-smb enables samba support
15 DEPENDS="dbus glib udev libgudev fuse udisks2"
16 BUILD_DEPENDS="dbus-dev glib-dev udev-dev libgudev-dev fuse-dev \
17 udisks2-dev samba-dev smbclient"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure \
24 --prefix=/usr \
25 --libexecdir=/usr/lib/$PACKAGE \
26 --sysconfdir=/etc \
27 --disable-gphoto2 \
28 --disable-avahi \
29 --disable-keyring \
30 --disable-hal \
31 --disable-afp \
32 --disable-bash-completion &&
33 make && make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/share
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/lib $fs/usr
42 cp -a $install/usr/share/dbus-1 $fs/usr/share
43 cp -a $install/usr/share/gvfs $fs/usr/share
44 cp -a $install/usr/share/glib-* $fs/usr/share
45 rm -f $(find ${fs} -name *.*a)
46 #following files are provided by gvfs-smb
47 rm $fs/usr/lib/gvfs/gvfsd-smb*
48 rm $fs/usr/share/gvfs/mounts/smb*
49 rm $fs/usr/share/glib-2.0/schemas/*smb*
50 ##following files are provided by gvfs-udisks2
51 #rm $fs/usr/lib/gvfs/gvfs-udisks2-volume-monitor
52 #rm $fs/usr/share/dbus-1/services/org.gtk.Private.UDisks2VolumeMonitor.service
53 #rm $fs/usr/share/gvfs/remote-volume-monitors/udisks2.monitor
54 }