wok-current annotate glibc-dev/receipt @ rev 1385
Split libiconv package. Up. Pidgin to 2.5.1
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Tue Sep 16 01:06:26 2008 +0200 (2008-09-16) |
parents | 3e085751bf3a |
children | 4a057e1fc620 |
rev | line source |
---|---|
pankso@9 | 1 # SliTaz package receipt. |
pankso@9 | 2 |
pankso@9 | 3 PACKAGE="glibc-dev" |
pankso@528 | 4 VERSION="2.7" |
pankso@199 | 5 CATEGORY="development" |
pankso@9 | 6 SHORT_DESC="The GNU C libraries devel files (Part of SliTaz toolchain)." |
pankso@9 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@528 | 8 DEPENDS="glibc-base bash" |
pankso@9 | 9 WANTED="glibc" |
pankso@9 | 10 WEB_SITE="http://www.gnu.org/software/libc/" |
pankso@9 | 11 SOURCES="glibc" |
pankso@9 | 12 |
pankso@9 | 13 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@9 | 14 # |
pankso@9 | 15 # This package is part of the toolchain. We use list to mkdir and cp files. |
pankso@9 | 16 # |
pankso@9 | 17 genpkg_rules() |
pankso@9 | 18 { |
pankso@528 | 19 # Mass copy and then remove all files specified in stuff/base-files.list. |
pankso@528 | 20 # We get the files from glibc-base. Locale files are in: glibc-locale. |
pankso@9 | 21 cp -a $_pkg/* $fs |
pankso@528 | 22 |
pankso@528 | 23 # Rm base files. |
pankso@9 | 24 echo -n "Removing all base files..." |
pankso@528 | 25 for file in `cat $WOK/glibc-base/taz/glibc-base-$VERSION/files.list` |
pankso@9 | 26 do |
pankso@9 | 27 rm -f ${fs}$file |
pankso@9 | 28 done |
pankso@9 | 29 rm -rf $fs/etc |
pankso@528 | 30 rm -rf $fs/usr/share |
pankso@528 | 31 status |
pankso@528 | 32 |
pankso@528 | 33 # Rm locale. |
pankso@528 | 34 echo -n "Removing all locale files..." |
pankso@528 | 35 for file in `cat $WOK/glibc-locale/taz/glibc-locale-$VERSION/files.list` |
pankso@528 | 36 do |
pankso@528 | 37 rm -f ${fs}$file |
pankso@528 | 38 done |
pankso@528 | 39 rm -rf $fs/usr/lib/gconv |
pankso@9 | 40 status |
pankso@9 | 41 } |