wok-stable diff slim/receipt @ rev 6375

Up: scons to 2.0.1.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Sep 21 12:08:37 2010 +0000 (2010-09-21)
parents 09d47b216378
children cc070e9ce1b8
line diff
     1.1 --- a/slim/receipt	Fri Apr 30 03:51:49 2010 +0000
     1.2 +++ b/slim/receipt	Tue Sep 21 12:08:37 2010 +0000
     1.3 @@ -1,14 +1,14 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="slim"
     1.7 -VERSION="1.3.1"
     1.8 +VERSION="1.3.2"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="Desktop-independent graphical login manager for X11."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  DEPENDS="glibc-base gcc-lib-base expat fontconfig freetype util-linux-ng-uuid zlib \
    1.13  jpeg libpng xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp \
    1.14  xorg-libXext xorg-libXft xorg-libXmu xorg-libXrender xorg-libXt"
    1.15 -BUILD_DEPENDS="xorg-dev jpeg-dev libpng-dev xorg-libXft-dev \ 
    1.16 +BUILD_DEPENDS="xorg-dev jpeg-dev libpng-dev xorg-libXft-dev \
    1.17  zlib-dev freetype-dev fontconfig-dev"
    1.18  SUGGESTED="slim-theme-default slitaz-configs"
    1.19  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.20 @@ -21,18 +21,17 @@
    1.21  compile_rules()
    1.22  {
    1.23  	cd $src
    1.24 -	patch -p0 < ../stuff/gcc44.patch || exit 1
    1.25 -	sed -i "s|/usr/X11R6/include|/usr/include/xorg|g" Makefile
    1.26 -	sed -i "s|/usr/X11R6/|/usr/|g" Makefile
    1.27 -	make
    1.28 +	make &&
    1.29 +	make DESTDIR=$src/_pkg 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/bin $fs/usr/share/slim
    1.36 -	cp -a $src/slim $fs/usr/bin
    1.37 +	mkdir -p $fs/usr/share/slim
    1.38  	cp -a stuff/themes $fs/usr/share/slim
    1.39 +	cp -a $_pkg/usr/bin $fs/usr
    1.40 +
    1.41  	# Config file and rc script.
    1.42  	cp -a stuff/etc $fs
    1.43  	chown -R root.root $fs