wok-6.x rev 5221

libexo: Have exo-tools.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Tue Apr 06 23:46:16 2010 +0200 (2010-04-06)
parents 7ac4d61f00a1
children 07fa91a3f97f
files libexo/receipt
line diff
     1.1 --- a/libexo/receipt	Tue Apr 06 23:43:53 2010 +0200
     1.2 +++ b/libexo/receipt	Tue Apr 06 23:46:16 2010 +0200
     1.3 @@ -5,53 +5,24 @@
     1.4  CATEGORY="x-window"
     1.5  SHORT_DESC="Xfce extension library"
     1.6  MAINTAINER="erjo@slitaz.org"
     1.7 -DEPENDS="libxfce4util perl-uri startup-notification hal libnotify"
     1.8 +DEPENDS="libxfce4util startup-notification hal libnotify"
     1.9  BUILD_DEPENDS="libxfce4util-dev perl-uri startup-notification-dev hal-dev"
    1.10 -SOURCE="exo"
    1.11 +WANTED="exo"
    1.12 +SUGGESTED="exo-tools"
    1.13  TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.14  WEB_SITE="http://www.xfce.org"
    1.15 -WGET_URL="http://www.tx-us.xfce.org/archive/xfce-4.6.1/src/$TARBALL
    1.16 - http://www.p0llux.be/xfce/xfce-$VERSION/src/$TARBALL"
    1.17  
    1.18 -# Rules to configure and make the package.
    1.19 -compile_rules()
    1.20 -{
    1.21 -	patch -p0 -i stuff/helpers.rc.u
    1.22 -
    1.23 -	cd $src
    1.24 -	./configure \
    1.25 -		--prefix=/usr \
    1.26 -		--sysconfdir=/etc \
    1.27 -		--libexecdir=/usr/lib/libexo \
    1.28 -		--enable-notifications \
    1.29 -		--enable-hal \
    1.30 -		--disable-debug \
    1.31 -		--mandir=/usr/share/man \
    1.32 -		$CONFIGURE_ARGS && \
    1.33 -	make && make DESTDIR=$PWD/_pkg install
    1.34 -}
    1.35  
    1.36  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.37  genpkg_rules()
    1.38  {
    1.39 -	mkdir -p $fs/usr/lib \
    1.40 -		$fs/usr/share/locale \
    1.41 -		$fs/usr/share/xfce4 \
    1.42 -		$fs/etc/xdg/xfce4
    1.43 +	mkdir -p $fs/usr/lib 
    1.44  
    1.45  	cp -a $_pkg/etc $fs/
    1.46  	cp -a $_pkg/usr/bin $fs/usr
    1.47  	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.48  	cp -a $_pkg/usr/lib/libexo $fs/usr/lib
    1.49 -	cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
    1.50 -	cp -a $_pkg/usr/share/applications $fs/usr/share
    1.51 -	cp -a $_pkg/usr/share/icons $fs/usr/share
    1.52 -	cp -a $_pkg/usr/share/pixmaps $fs/usr/share
    1.53 -	cp -a $_pkg/usr/share/xfce4/helpers $fs/usr/share/xfce4
    1.54  
    1.55 -	# Fix perms & helpers
    1.56 -	chmod +x $fs/usr/bin/exo-preferred-applications
    1.57 -	
    1.58  	# Strip files
    1.59  	strip -s $fs/usr/lib/libexo/* 2> /dev/null
    1.60  }