wok rev 12726

thunar: we dont need so much deps, make it lighter, we may say goodbye pcmanfm (v2 is a pain actually...)
author Christophe Lincoln <pankso@slitaz.org>
date Sat May 05 13:58:37 2012 +0200 (2012-05-05)
parents 2fa67f6d1db4
children 396475ee4ca1
files thunar/receipt
line diff
     1.1 --- a/thunar/receipt	Sat May 05 13:03:47 2012 +0200
     1.2 +++ b/thunar/receipt	Sat May 05 13:58:37 2012 +0200
     1.3 @@ -11,17 +11,18 @@
     1.4  WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
     1.5  TAGS="file-manager file-browser"
     1.6  
     1.7 -DEPENDS="libpng jpeg libxfce4util dbus libexo xfce4-panel \
     1.8 -pcre libexif libgudev gamin libxfce4ui startup-notification util-linux-uuid"
     1.9 -BUILD_DEPENDS="libpng-dev jpeg-dev libxfce4util-dev dbus-dev xcb-util-dev \
    1.10 - libexo-dev xfce4-panel-dev zlib-dev intltool libgudev-dev libxfce4ui-dev \
    1.11 - startup-notification-dev util-linux-uuid-dev"
    1.12 +DEPENDS="libpng jpeg gtk+ libxfce4util dbus libexo pcre libexif libgudev \
    1.13 +gamin libxfce4ui startup-notification util-linux-uuid"
    1.14 +BUILD_DEPENDS="libpng-dev jpeg-dev gtk+-dev libxfce4util-dev dbus-dev \
    1.15 +libexo-dev zlib-dev intltool libgudev-dev libxfce4ui-dev xcb-util-dev \
    1.16 +startup-notification-dev util-linux-uuid-dev"
    1.17  
    1.18  # Rules to configure and make the package.
    1.19  compile_rules()
    1.20  {
    1.21  	cd $src
    1.22 -	./configure --prefix=/usr \
    1.23 +	./configure \
    1.24 +		--prefix=/usr \
    1.25  		--sysconfdir=/etc \
    1.26  		--enable-dbus \
    1.27  		--enable-startup-notification \
    1.28 @@ -29,34 +30,26 @@
    1.29  		--enable-gudev \
    1.30  		--libexecdir=/usr/lib \
    1.31  		--enable-debug=no \
    1.32 -		$CONFIGURE_ARGS && \
    1.33 +		$CONFIGURE_ARGS &&
    1.34  	make && make DESTDIR=$DESTDIR install
    1.35  }
    1.36  
    1.37  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.38  genpkg_rules()
    1.39  {
    1.40 -	
    1.41  	mkdir -p $fs/usr \
    1.42 -		$fs/usr/share/locale \
    1.43  		$fs/usr/lib/thunarx-2
    1.44  
    1.45 -	cp -a $_pkg/etc $fs/
    1.46 -	cp -a $_pkg/usr/bin $fs/usr
    1.47 -	
    1.48 -	cp -a $_pkg/usr/lib/Thunar $fs/usr/lib
    1.49 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.50 -#	cp -a $_pkg/usr/lib/xfce4 $fs/usr/lib
    1.51 -	cp -a $_pkg/usr/lib/thunarx-2/*.so* $fs/usr/lib/thunarx-2
    1.52 -	
    1.53 -	
    1.54 -	cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
    1.55 -	cp -a $_pkg/usr/share/applications $fs/usr/share
    1.56 -#	cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
    1.57 -	cp -a $_pkg/usr/share/icons $fs/usr/share
    1.58 -	cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
    1.59 -	cp -a $_pkg/usr/share/pixmaps $fs/usr/share
    1.60 -	cp -a $_pkg/usr/share/Thunar $fs/usr/share
    1.61 -#	cp -a $_pkg/usr/share/xfce4 $fs/usr/share
    1.62 +	cp -a $install/etc $fs/
    1.63 +	cp -a $install/usr/bin $fs/usr
    1.64 +
    1.65 +	cp -a $install/usr/lib/Thunar $fs/usr/lib
    1.66 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.67 +	cp -a $install/usr/lib/thunarx-2/*.so* $fs/usr/lib/thunarx-2
    1.68 +
    1.69 +	cp -a $install/usr/share/applications $fs/usr/share
    1.70 +	cp -a $install/usr/share/icons $fs/usr/share
    1.71 +	cp -a $install/usr/share/pixmaps $fs/usr/share
    1.72 +	cp -a $install/usr/share/Thunar $fs/usr/share
    1.73  }
    1.74