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