wok-next rev 12743
Up: gvfs (1.13.0) Stripped down package (no gnome dep)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 08 00:06:53 2012 +0200 (2012-05-08) |
parents | 2b1a6b2f6c0d |
children | 7a023593f133 |
files | gvfs-dev/receipt gvfs/receipt |
line diff
1.1 --- a/gvfs-dev/receipt Tue May 08 00:04:31 2012 +0200 1.2 +++ b/gvfs-dev/receipt Tue May 08 00:06:53 2012 +0200 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="gvfs-dev" 1.7 -VERSION="1.7.2" 1.8 +VERSION="1.13.0" 1.9 CATEGORY="development" 1.10 SHORT_DESC="The gvfs devel files." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 @@ -12,8 +12,8 @@ 1.13 genpkg_rules() 1.14 { 1.15 mkdir -p $fs/usr/lib/gio/modules 1.16 - cp -a $_pkg/usr/include $fs/usr 1.17 - #cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib 1.18 - cp -a $_pkg/usr/lib/*.*a $fs/usr/lib 1.19 - cp -a $_pkg/usr/lib/gio/modules/*.*a $fs/usr/lib/gio/modules 1.20 + cp -a $install/usr/include $fs/usr 1.21 + cp -a $install/usr/lib/*.*a $fs/usr/lib 1.22 + cp -a $install/usr/lib/gio/modules/*.*a \ 1.23 + $fs/usr/lib/gio/modules 1.24 }
2.1 --- a/gvfs/receipt Tue May 08 00:04:31 2012 +0200 2.2 +++ b/gvfs/receipt Tue May 08 00:06:53 2012 +0200 2.3 @@ -1,43 +1,41 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="gvfs" 2.7 -VERSION="1.6.6" 2.8 +VERSION="1.13.0" 2.9 CATEGORY="system-tools" 2.10 SHORT_DESC="Userspace virtual filesystem designed to work with gio." 2.11 MAINTAINER="pankso@slitaz.org" 2.12 -DEPENDS="GConf dbus hal glib gnome-keyring" 2.13 -BUILD_DEPENDS="GConf-dev dbus-dev hal-dev glib-dev gnome-keyring-dev \ 2.14 -intltool libgio-dev" 2.15 -TARBALL="$PACKAGE-$VERSION.tar.bz2" 2.16 +TARBALL="$PACKAGE-$VERSION.tar.xz" 2.17 WEB_SITE="http://www.gnome.org/" 2.18 -WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" 2.19 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" 2.20 + 2.21 +DEPENDS="dbus glib" 2.22 +BUILD_DEPENDS="dbus-dev glib-dev" 2.23 2.24 # Rules to configure and make the package. 2.25 compile_rules() 2.26 { 2.27 cd $src 2.28 - grep -rl gio/gdesktopappinfo.h . | xargs sed -i \ 2.29 -'s|.*gio/gdesktopappinfo.h.*|#ifdef G_DISABLE_DEPRECATED\n#undef G_DISABLE_DEPRECATED\n&\n#define G_DISABLE_DEPRECATED\n#else\n&\n#endif|' 2.30 ./configure \ 2.31 --libexecdir=/usr/lib/$PACKAGE \ 2.32 --sysconfdir=/etc \ 2.33 --disable-gphoto2 \ 2.34 --disable-avahi \ 2.35 - --disable-samba && 2.36 + --disable-samba \ 2.37 + --disable-keyring \ 2.38 + --disable-bash-completion \ 2.39 + --disable-gconf && 2.40 make && make install 2.41 } 2.42 2.43 # Rules to gen a SliTaz package suitable for Tazpkg. 2.44 genpkg_rules() 2.45 { 2.46 - mkdir -p $fs/usr/lib $fs/usr/share 2.47 - cp -a $_pkg/etc $fs 2.48 - cp -a $_pkg/usr/bin $fs/usr 2.49 - cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 2.50 - cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib 2.51 - cp -a $_pkg/usr/lib/gio $fs/usr/lib 2.52 - cp -a $_pkg/usr/share/dbus-1 $fs/usr/share 2.53 - cp -a $_pkg/usr/share/gvfs $fs/usr/share 2.54 - rm $fs/usr/lib/gio/modules/*.*a 2.55 - strip -s $fs/usr/lib/$PACKAGE/* 2>/dev/null 2.56 + mkdir -p $fs/usr/share 2.57 + cp -a $install/usr/bin $fs/usr 2.58 + cp -a $install/usr/lib $fs/usr 2.59 + cp -a $install/usr/share/dbus-1 $fs/usr/share 2.60 + cp -a $install/usr/share/gvfs $fs/usr/share 2.61 + cp -a $install/usr/share/glib-* $fs/usr/share 2.62 + rm -f $(find ${fs} -name *.*a) 2.63 }