wok-current view gvfs/receipt @ rev 12376
Up: jpeg to 8c.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Apr 19 22:01:02 2012 +0000 (2012-04-19) |
parents | 9bac87fce4e1 |
children | ee81ec751666 |
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 intltool libgio-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.gnome.org/"
13 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 grep -rl gio/gdesktopappinfo.h . | xargs sed -i \
20 's|.*gio/gdesktopappinfo.h.*|#ifdef G_DISABLE_DEPRECATED\n#undef G_DISABLE_DEPRECATED\n&\n#define G_DISABLE_DEPRECATED\n#else\n&\n#endif|'
21 ./configure \
22 --libexecdir=/usr/lib/$PACKAGE \
23 --sysconfdir=/etc \
24 --disable-gphoto2 \
25 --disable-avahi \
26 --disable-samba &&
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib $fs/usr/share
34 cp -a $_pkg/etc $fs
35 cp -a $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
37 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
38 cp -a $_pkg/usr/lib/gio $fs/usr/lib
39 cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
40 cp -a $_pkg/usr/share/gvfs $fs/usr/share
41 rm $fs/usr/lib/gio/modules/*.*a
42 strip -s $fs/usr/lib/$PACKAGE/* 2>/dev/null
43 }