wok rev 13535

gnome-vfs: repaired (from unwork state); added gnome-vfs-i18n (optional lang files)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Oct 23 11:28:07 2012 +0200 (2012-10-23)
parents 550ed61929fc
children c97aea7cf136
files gnome-vfs-i18n/receipt gnome-vfs/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gnome-vfs-i18n/receipt	Tue Oct 23 11:28:07 2012 +0200
     1.3 @@ -0,0 +1,17 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="gnome-vfs-i18n"
     1.7 +VERSION="2.24.4"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Language files for the GNOME Virtual File System libraries"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +DEPENDS="gnome-vfs"
    1.12 +WEB_SITE="http://www.gnome.org"
    1.13 +WANTED="gnome-vfs"
    1.14 +
    1.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.16 +genpkg_rules()
    1.17 +{
    1.18 +	mkdir -p $fs/usr/share/locale
    1.19 +	cp -a $install/usr/share/locale/* $fs/usr/share/locale
    1.20 +}
     2.1 --- a/gnome-vfs/receipt	Tue Oct 23 11:16:24 2012 +0200
     2.2 +++ b/gnome-vfs/receipt	Tue Oct 23 11:28:07 2012 +0200
     2.3 @@ -5,11 +5,14 @@
     2.4  CATEGORY="x-window"
     2.5  SHORT_DESC="The GNOME Virtual File System libraries"
     2.6  MAINTAINER="erjo@slitaz.org"
     2.7 -DEPENDS="dbus-glib GConf gnome-mime-data"
     2.8 -BUILD_DEPENDS="gtk+-dev dbus-glib-dev GConf-dev bzip2-dev gnome-mime-data libxml2-dev zlib-dev intltool pkg-config"
     2.9  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.10  WEB_SITE="http://www.gnome.org"
    2.11 -WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
    2.12 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    2.13 +
    2.14 +DEPENDS="dbus dbus-glib GConf glib glibc-base libffi libgio libxml2 ORBit2 \
    2.15 +zlib"
    2.16 +BUILD_DEPENDS="gtk+-dev dbus-glib-dev GConf-dev bzip2-dev gnome-mime-data \
    2.17 +libxml2-dev zlib-dev intltool pkg-config"
    2.18  
    2.19  # Rules to configure and make the package.
    2.20  compile_rules()
    2.21 @@ -19,21 +22,22 @@
    2.22  		--prefix=/usr \
    2.23  		--sysconfdir=/etc/gnome \
    2.24  		--libexecdir=/usr/lib/gnome-vfs-2.0 \
    2.25 +		--disable-schemas-install \
    2.26  		$CONFIGURE_ARGS &&
    2.27 -	make && make DESTDIR=$PWD/_pkg install
    2.28 +	make && make DESTDIR=$DESTDIR install
    2.29  }
    2.30  
    2.31  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.32  genpkg_rules()
    2.33  {
    2.34  	mkdir -p $fs/usr/share $fs/usr/lib
    2.35 -	cp -a $_pkg/usr/bin $fs/usr
    2.36 -	cp -a $_pkg/usr/share/dbus* $fs/usr/share
    2.37 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    2.38 -	cp -a $_pkg/usr/lib/gnome-vfs* $fs/usr/lib
    2.39 -	
    2.40 +	cp -a $install/usr/bin $fs/usr
    2.41 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.42 +	cp -a $install/usr/lib/gnome-vfs* $fs/usr/lib
    2.43 +	cp -a $install/usr/share/dbus* $fs/usr/share
    2.44 +	cp -a $install/etc /$fs
    2.45 +
    2.46  	# Clean unwated files
    2.47  	cd $fs/usr/lib/gnome-vfs-2.0 ; find . -name "*.*a" -exec rm -f {} \;
    2.48 -	
    2.49 -	# Stripping all
    2.50 +	rm -rf ./include
    2.51  }