wok annotate gvfs/receipt @ rev 14900
Add firmware-mod-kit
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 31 11:20:11 2013 +0200 (2013-07-31) |
parents | d10ad51da318 |
children | 380ffe05937a |
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" |
pankso@12743 | 8 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@11222 | 9 WEB_SITE="http://www.gnome.org/" |
pankso@12743 | 10 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
monghitri@14125 | 11 DEPENDS="dbus glib udev libgudev fuse udisks2" |
monghitri@14122 | 12 BUILD_DEPENDS="dbus-dev glib-dev udev-dev libgudev-dev fuse-dev \ |
monghitri@14125 | 13 udisks2-dev samba-dev smbclient" |
monghitri@14122 | 14 SUGGESTED="gvfs-smb" |
monghitri@14122 | 15 #gvfs-smb enables samba support |
pascal@11222 | 16 |
pascal@11222 | 17 # Rules to configure and make the package. |
pascal@11222 | 18 compile_rules() |
pascal@11222 | 19 { |
pascal@11222 | 20 cd $src |
pascal@11222 | 21 ./configure \ |
monghitri@14098 | 22 --prefix=/usr \ |
pascal@11222 | 23 --libexecdir=/usr/lib/$PACKAGE \ |
pascal@11222 | 24 --sysconfdir=/etc \ |
pascal@11222 | 25 --disable-gphoto2 \ |
pascal@11222 | 26 --disable-avahi \ |
pankso@12743 | 27 --disable-keyring \ |
monghitri@14122 | 28 --disable-hal \ |
monghitri@14122 | 29 --disable-afp \ |
pankso@12744 | 30 --disable-bash-completion && |
pascal@11222 | 31 make && make install |
pascal@11222 | 32 } |
pascal@11222 | 33 |
pascal@11222 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11222 | 35 genpkg_rules() |
pascal@11222 | 36 { |
pankso@12743 | 37 mkdir -p $fs/usr/share |
pankso@12743 | 38 cp -a $install/usr/bin $fs/usr |
pankso@12743 | 39 cp -a $install/usr/lib $fs/usr |
pankso@12743 | 40 cp -a $install/usr/share/dbus-1 $fs/usr/share |
pankso@12743 | 41 cp -a $install/usr/share/gvfs $fs/usr/share |
pankso@12743 | 42 cp -a $install/usr/share/glib-* $fs/usr/share |
pankso@12743 | 43 rm -f $(find ${fs} -name *.*a) |
monghitri@14122 | 44 #following files are provided by gvfs-smb |
monghitri@14122 | 45 rm $fs/usr/lib/gvfs/gvfsd-smb* |
monghitri@14122 | 46 rm $fs/usr/share/gvfs/mounts/smb* |
monghitri@14122 | 47 rm $fs/usr/share/glib-2.0/schemas/*smb* |
monghitri@14122 | 48 ##following files are provided by gvfs-udisks2 |
monghitri@14122 | 49 #rm $fs/usr/lib/gvfs/gvfs-udisks2-volume-monitor |
monghitri@14122 | 50 #rm $fs/usr/share/dbus-1/services/org.gtk.Private.UDisks2VolumeMonitor.service |
monghitri@14122 | 51 #rm $fs/usr/share/gvfs/remote-volume-monitors/udisks2.monitor |
pascal@11222 | 52 } |