wok-next diff gnome-vfs/receipt @ rev 20259

xsave: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 07 18:34:13 2017 +0100 (2017-11-07)
parents c733dc0b3f6c
children 93930f418ffb
line diff
     1.1 --- a/gnome-vfs/receipt	Sun Oct 15 05:11:40 2017 +0300
     1.2 +++ b/gnome-vfs/receipt	Tue Nov 07 18:34:13 2017 +0100
     1.3 @@ -1,4 +1,4 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="gnome-vfs"
     1.8  VERSION="2.24.4"
     1.9 @@ -10,10 +10,9 @@
    1.10  WEB_SITE="http://www.gnome.org"
    1.11  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.12  
    1.13 -DEPENDS="dbus dbus-glib GConf glib glibc-base libffi libxml2 ORBit2 \
    1.14 -zlib"
    1.15  BUILD_DEPENDS="gtk+-dev dbus-glib-dev GConf-dev bzip2-dev shared-mime-info \
    1.16  gnome-mime-data libxml2-dev zlib-dev intltool pkg-config"
    1.17 +SPLIT="gnome-vfs gnome-vfs-dev gnome-vfs-i18n"
    1.18  
    1.19  # Rules to configure and make the package.
    1.20  compile_rules()
    1.21 @@ -31,14 +30,39 @@
    1.22  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.23  genpkg_rules()
    1.24  {
    1.25 -	mkdir -p $fs/usr/share $fs/usr/lib
    1.26 -	cp -a $install/usr/bin $fs/usr
    1.27 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.28 -	cp -a $install/usr/lib/gnome-vfs* $fs/usr/lib
    1.29 -	cp -a $install/usr/share/dbus* $fs/usr/share
    1.30 -	cp -a $install/etc /$fs
    1.31 +	case $PACKAGE in
    1.32 +	gnome-vfs)
    1.33 +		DEPENDS="dbus dbus-glib GConf glib glibc-base libffi libxml2 \
    1.34 +			ORBit2 zlib"
    1.35 +		mkdir -p $fs/usr/share $fs/usr/lib
    1.36 +		cp -a $install/usr/bin $fs/usr
    1.37 +		cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.38 +		cp -a $install/usr/lib/gnome-vfs* $fs/usr/lib
    1.39 +		cp -a $install/usr/share/dbus* $fs/usr/share
    1.40 +		cp -a $install/etc /$fs
    1.41  
    1.42 -	# Clean unwated files
    1.43 -	cd $fs/usr/lib/gnome-vfs-2.0 ; find . -name "*.*a" -exec rm -f {} \;
    1.44 -	rm -rf ./include
    1.45 +		# Clean unwated files
    1.46 +		cd $fs/usr/lib/gnome-vfs-2.0 ; find . -name "*.*a" -exec rm -f {} \;
    1.47 +		rm -rf ./include
    1.48 +		;;
    1.49 +	gnome-vfs-dev)
    1.50 +		CAT="development|The GNOME Virtual File System libraries dev files"
    1.51 +		DEPENDS="gnome-vfs GConf-dev glib-dev pkg-config"
    1.52 +		mkdir -p $fs/usr/lib
    1.53 +
    1.54 +		cp -a $install/usr/include $fs/usr
    1.55 +		cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.56 +		cp -a $install/usr/lib/gnome-vfs-2.0 $fs/usr/lib
    1.57 +		cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.58 +	
    1.59 +		# Clean unwated files
    1.60 +		cd $fs/usr/lib ; find . -name "*.so*" -exec rm -f {} \;
    1.61 +		;;
    1.62 +	gnome-vfs-i18n)
    1.63 +		CAT="localization|Language files for the GNOME Virtual File System libraries"
    1.64 +		DEPENDS="gnome-vfs"
    1.65 +		mkdir -p $fs/usr/share/locale
    1.66 +		cp -a $install/usr/share/locale/* $fs/usr/share/locale
    1.67 +		;;
    1.68 +	esac
    1.69  }