wok-undigest view gvfs/receipt @ rev 427

nvidia-*: update for cook
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Sep 04 17:13:50 2011 +0200 (2011-09-04)
parents f77f45e4343d
children 90f49bab0943
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.gnome.org/"
12 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --libexecdir=/usr/lib/$PACKAGE \
20 --sysconfdir=/etc \
21 --disable-gphoto2 \
22 --disable-avahi \
23 --disable-samba &&
24 make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib $fs/usr/share
31 cp -a $_pkg/etc $fs
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
35 cp -a $_pkg/usr/lib/gio $fs/usr/lib
36 cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
37 cp -a $_pkg/usr/share/gvfs $fs/usr/share
38 rm $fs/usr/lib/gio/modules/*.*a
39 strip -s $fs/usr/lib/$PACKAGE/* 2>/dev/null
40 }