wok diff glibc-base/receipt @ rev 2734
dmenu: update maintainer
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Fri Apr 24 07:44:25 2009 +0000 (2009-04-24) |
parents | 90aff787d4cc |
children | ce51efec9a26 |
line diff
1.1 --- a/glibc-base/receipt Tue Jul 15 19:22:25 2008 +0000 1.2 +++ b/glibc-base/receipt Fri Apr 24 07:44:25 2009 +0000 1.3 @@ -1,10 +1,10 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="glibc-base" 1.7 -VERSION="2.7" 1.8 +VERSION="2.9" 1.9 CATEGORY="base-system" 1.10 SHORT_DESC="GNU libc minimal libraries for SliTaz based system." 1.11 -WEB_SITE="http://gcc.gnu.org/" 1.12 +WEB_SITE="http://www.gnu.org/software/libc/" 1.13 WANTED="glibc" 1.14 MAINTAINER="pankso@slitaz.org" 1.15 1.16 @@ -27,19 +27,21 @@ 1.17 do 1.18 cp -a ${_pkg}$file ${fs}$file 1.19 done 1.20 - 1.21 # Gen locale files (see also locale-pack). 1.22 - # 1.23 mkdir -p $fs/usr/lib/locale 1.24 localedef -i fr_FR -c -f ISO-8859-1 $fs/usr/lib/locale/fr_FR 1.25 } 1.26 1.27 -# Call ldconfig and remove old glibc-2.3.6 files. 1.28 +# Call ldconfig and remove old glibc-2.3.6 (slitaz 1.0) and glibc-2.7 1.29 +# files. 1.30 +pre_install() 1.31 +{ 1.32 + rm -f $1/usr/lib/locale/locale-archive 1.33 +} 1.34 + 1.35 post_install() 1.36 { 1.37 local root 1.38 - root=$1 1.39 - ldconfig 1.40 - rm -f $root/lib/*2.3.6.so 1.41 - rm -f $root/usr/lib/locale/locale-archive 1.42 + rm -f $1/lib/*2.3.6.so 1.43 + rm -f $1/lib/*2.7.so 1.44 }