wok annotate gvfs/receipt @ rev 15073

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