wok-current diff slim-pam/receipt @ rev 13606

Up: sylpheed (3.3.0) and clean receipt
author Christophe Lincoln <pankso@slitaz.org>
date Sat Nov 10 19:55:12 2012 +0100 (2012-11-10)
parents 514fe57ed853
children d0948455b365
line diff
     1.1 --- a/slim-pam/receipt	Sat Apr 28 19:35:01 2012 +0200
     1.2 +++ b/slim-pam/receipt	Sat Nov 10 19:55:12 2012 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="slim-pam"
     1.7 -VERSION="1.3.2"
     1.8 +VERSION="1.3.3"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="Desktop-independent graphical login manager for X11."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 @@ -12,20 +12,19 @@
    1.13  WGET_URL="http://download.berlios.de/slim/$TARBALL"
    1.14  CONFIG_FILES="/etc/slim.conf"
    1.15  PROVIDE="slim:pam"
    1.16 -BUGS="Sometime needs more than 10 seconds to start (since HAL/DCOP addition)."
    1.17  
    1.18 -DEPENDS="glibc-base gcc-lib-base expat fontconfig freetype util-linux-uuid zlib \
    1.19 -jpeg libpng xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp \
    1.20 -xorg-libXext xorg-libXft xorg-libXmu xorg-libXrender xorg-libXt \
    1.21 -pam"
    1.22 -BUILD_DEPENDS="pam-dev xorg-dev jpeg-dev libpng-dev"
    1.23 +DEPENDS="glibc-base gcc-lib-base expat fontconfig freetype util-linux-uuid \
    1.24 +zlib jpeg libpng xorg-libXft xorg-libXmu pam"
    1.25 +BUILD_DEPENDS="pam-dev xorg-libXft-dev xorg-libXmu-dev jpeg-dev libpng-dev cmake"
    1.26  
    1.27  # Rules to configure and make the package.
    1.28  compile_rules()
    1.29  {
    1.30  	cd $src
    1.31 -	make USE_PAM=1 &&
    1.32 -	make install
    1.33 +	cmake \
    1.34 +		-DCMAKE_INSTALL_PREFIX=/usr \
    1.35 +		-DUSE_PAM=yes . &&
    1.36 +	make && make DESTDIR=$DESTDIR install
    1.37  }
    1.38  
    1.39  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.40 @@ -33,8 +32,8 @@
    1.41  {
    1.42  	mkdir -p $fs/usr/share/slim
    1.43  	cp -a ../$SOURCE/stuff/themes $fs/usr/share/slim
    1.44 -	cp -a $_pkg/usr/bin $fs/usr
    1.45 -	
    1.46 +	cp -a $install/usr/bin $fs/usr
    1.47 +
    1.48  	# Config file and rc script.
    1.49  	cp -a ../$SOURCE/stuff/etc $fs
    1.50  	chown -R root.root $fs