wok diff uclibc-cross-compiler-i486/receipt @ rev 11614

nanochess: catch ?black arg (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 21 23:16:13 2012 +0100 (2012-01-21)
parents df5b8ff398d7
children 4d1b6826f4c6
line diff
     1.1 --- a/uclibc-cross-compiler-i486/receipt	Thu Feb 17 18:58:39 2011 +0100
     1.2 +++ b/uclibc-cross-compiler-i486/receipt	Sat Jan 21 23:16:13 2012 +0100
     1.3 @@ -24,12 +24,7 @@
     1.4  # Pre and post install commands for Tazpkg.
     1.5  post_install()
     1.6  {
     1.7 -	for i in $(cd $1/ ; ls usr/share/$PACKAGE/lib/ld-uClibc.so*); do
     1.8 -		[ -e $1/lib/$(basename $i) ] || ln -s /$i $1/lib
     1.9 -	done
    1.10 -	cat <<EOT
    1.11 -Add /usr/share/$PACKAGE/lib in your LD_LIBRARY_PATH to enable the shared libraries
    1.12 -EOT
    1.13 +	chroot "$1/" /usr/bin/uclibc-${PACKAGE##*-}-ldconfig
    1.14  }
    1.15  
    1.16  pre_remove()