wok-6.x diff glibc-dev/receipt @ rev 2457

pango, parted, partimage, pciutils, pcmanfm, pcre-dev; perl*: update depends
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 14 07:53:36 2009 +0000 (2009-03-14)
parents 3e085751bf3a
children 4a057e1fc620
line diff
     1.1 --- a/glibc-dev/receipt	Wed Feb 13 00:20:49 2008 +0100
     1.2 +++ b/glibc-dev/receipt	Sat Mar 14 07:53:36 2009 +0000
     1.3 @@ -1,11 +1,11 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="glibc-dev"
     1.7 -VERSION="2.3.6"
     1.8 +VERSION="2.7"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="The GNU C libraries devel files (Part of SliTaz toolchain)."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 -DEPENDS="glibc-base"
    1.13 +DEPENDS="glibc-base bash"
    1.14  WANTED="glibc"
    1.15  WEB_SITE="http://www.gnu.org/software/libc/"
    1.16  SOURCES="glibc"
    1.17 @@ -16,15 +16,26 @@
    1.18  #
    1.19  genpkg_rules()
    1.20  {
    1.21 -    # Copy all and then remove all files specified in stuff/base-files.list.
    1.22 -    # We get the files from glibc-base package.
    1.23 +    # Mass copy and then remove all files specified in stuff/base-files.list.
    1.24 +    # We get the files from glibc-base. Locale files are in: glibc-locale.
    1.25      cp -a $_pkg/* $fs
    1.26 +    
    1.27 +    # Rm base files.
    1.28      echo -n "Removing all base files..."
    1.29 -    for file in `cat stuff/base-files.list`
    1.30 +    for file in `cat $WOK/glibc-base/taz/glibc-base-$VERSION/files.list`
    1.31      do
    1.32      	rm -f ${fs}$file
    1.33      done
    1.34      rm -rf $fs/etc
    1.35 -    rm -rf $fs/usr/share/info
    1.36 +    rm -rf $fs/usr/share
    1.37 +    status
    1.38 +    
    1.39 +    # Rm locale.
    1.40 +    echo -n "Removing all locale files..."
    1.41 +    for file in `cat $WOK/glibc-locale/taz/glibc-locale-$VERSION/files.list`
    1.42 +    do
    1.43 +    	rm -f ${fs}$file
    1.44 +    done
    1.45 +    rm -rf $fs/usr/lib/gconv
    1.46      status
    1.47  }