wok rev 9737

slim: fix DESTDIR is needed and build deps
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 10 00:34:33 2011 +0200 (2011-05-10)
parents cba14e272d6e
children 21732727ec37
files slim/receipt
line diff
     1.1 --- a/slim/receipt	Tue May 10 00:20:55 2011 +0200
     1.2 +++ b/slim/receipt	Tue May 10 00:34:33 2011 +0200
     1.3 @@ -5,9 +5,6 @@
     1.4  CATEGORY="x-window"
     1.5  SHORT_DESC="Desktop-independent graphical login manager for X11."
     1.6  MAINTAINER="pankso@slitaz.org"
     1.7 -DEPENDS="glibc-base gcc-lib-base expat fontconfig freetype util-linux-ng-uuid zlib \
     1.8 -jpeg libpng xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp \
     1.9 -xorg-libXext xorg-libXft xorg-libXmu xorg-libXrender xorg-libXt"
    1.10  SUGGESTED="slim-theme-default slitaz-configs"
    1.11  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12  WEB_SITE="http://slim.berlios.de"
    1.13 @@ -15,13 +12,17 @@
    1.14  CONFIG_FILES="/etc/slim.conf"
    1.15  BUGS="Sometime needs more than 10 seconds to start (since HAL/DCOP addition)."
    1.16  
    1.17 +DEPENDS="glibc-base gcc-lib-base expat fontconfig freetype util-linux-ng-uuid \
    1.18 +zlib jpeg libpng xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp \
    1.19 +xorg-libXext xorg-libXft xorg-libXmu xorg-libXrender xorg-libXt"
    1.20 +BUILD_DEPENDS="xorg-libX11-dev xorg-libXft-dev"
    1.21 +
    1.22  # Rules to configure and make the package.
    1.23  compile_rules()
    1.24  {
    1.25  	cd $src
    1.26  	patch -p1 < $stuff/NoPwdForCmd.patch || return 1
    1.27 -	make &&
    1.28 -	make install
    1.29 +	make && make DESTDIR=$WOK/$PACKAGE/install install
    1.30  }
    1.31  
    1.32  # Rules to gen a SliTaz package suitable for Tazpkg.