wok rev 12465

xorg-xcompmg: add autostart desktop.files
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 22 18:16:20 2012 +0200 (2012-04-22)
parents 46909ef41523
children 7fed8c0a235d
files xorg-xcompmgr/receipt xorg-xcompmgr/stuff/autostart/xcompmgr.desktop
line diff
     1.1 --- a/xorg-xcompmgr/receipt	Sun Apr 22 18:11:30 2012 +0200
     1.2 +++ b/xorg-xcompmgr/receipt	Sun Apr 22 18:16:20 2012 +0200
     1.3 @@ -5,27 +5,27 @@
     1.4  CATEGORY="x-window"
     1.5  SHORT_DESC="X composite manager."
     1.6  MAINTAINER="pankso@slitaz.org"
     1.7 -DEPENDS="xorg-libXdamage xorg-libXcomposite xorg-libXrender"
     1.8 -BUILD_DEPENDS="xorg-libXdamage-dev xorg-libXcomposite-dev xorg-libXrender-dev"
     1.9  SOURCE="xcompmgr"
    1.10  TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.11  WEB_SITE="http://www.x.org/"
    1.12  WGET_URL="http://xorg.freedesktop.org/archive/individual/app/$TARBALL"
    1.13  
    1.14 +DEPENDS="xorg-libXdamage xorg-libXcomposite xorg-libXrender"
    1.15 +BUILD_DEPENDS="xorg-dev"
    1.16 +
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19  {
    1.20 -    cd $src
    1.21 -    ./configure --prefix=/usr --sysconfdir=/etc \
    1.22 -    --mandir=/usr/share/man --localstatedir=/var \
    1.23 -    $CONFIGURE_ARGS &&
    1.24 -    make &&
    1.25 -    make DESTDIR=$PWD/_pkg install
    1.26 +	cd $src
    1.27 +	./configure \
    1.28 +		$CONFIGURE_ARGS &&
    1.29 +	make && make install
    1.30  }
    1.31  
    1.32  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.33  genpkg_rules()
    1.34  {
    1.35 -	mkdir -p $fs/usr
    1.36 -	cp -a $_pkg/usr/bin $fs/usr
    1.37 +	mkdir -p $fs/usr $fs/etc/xdg
    1.38 +	cp -r $install/usr/bin $fs/usr
    1.39 +	cp -r $stuff/autostart $fs/etc/xdg
    1.40  }
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/xorg-xcompmgr/stuff/autostart/xcompmgr.desktop	Sun Apr 22 18:16:20 2012 +0200
     2.3 @@ -0,0 +1,6 @@
     2.4 +[Desktop Entry]
     2.5 +Type=Application
     2.6 +Name=Desktop effects with Xcompmgr
     2.7 +Name[fr]=Effects de bureau avec Xcompmgr
     2.8 +Exec=xcompmgr -c -r 10 -o 0.5
     2.9 +NotShowIn=LXDE;XFCE;Razor;