wok diff slim-pam/receipt @ rev 6612
Fixed giflib-dev, jpeg-dev, libpng-dev, tiff-dev, and zlib-dev. I made there wanted package be depends also since you need the .so files to compile things also most of the time.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Oct 09 19:37:19 2010 +0000 (2010-10-09) |
parents | 09d47b216378 |
children | a3501d98b7a1 |
line diff
1.1 --- a/slim-pam/receipt Fri Apr 30 03:51:49 2010 +0000 1.2 +++ b/slim-pam/receipt Sat Oct 09 19:37:19 2010 +0000 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="slim-pam" 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="pascal.bellard@slitaz.org" 1.12 @@ -20,24 +20,23 @@ 1.13 compile_rules() 1.14 { 1.15 cd $src 1.16 - patch -p0 < ../../slim/stuff/gcc44.patch || exit 1 1.17 - sed -i "s|/usr/X11R6/include|/usr/include/xorg|g" Makefile 1.18 - sed -i "s|/usr/X11R6/|/usr/|g" Makefile 1.19 - make USE_PAM=1 1.20 + make USE_PAM=1 && 1.21 + make DESTDIR=$src/_pkg install 1.22 } 1.23 1.24 # Rules to gen a SliTaz package suitable for Tazpkg. 1.25 genpkg_rules() 1.26 { 1.27 - mkdir -p $fs/usr/bin $fs/usr/share/slim 1.28 - cp -a $src/slim $fs/usr/bin 1.29 - 1.30 - # Config file and rc script (theme is in slitaz-configs). 1.31 + mkdir -p $fs/usr/share/slim 1.32 + cp -a ../$SOURCE/stuff/themes $fs/usr/share/slim 1.33 + cp -a $_pkg/usr/bin $fs/usr 1.34 + 1.35 + # Config file and rc script. 1.36 cp -a ../$SOURCE/stuff/etc $fs 1.37 chown -R root.root $fs 1.38 } 1.39 1.40 -pre_instal() 1.41 +pre_install() 1.42 { 1.43 local root 1.44 root=$1