wok-stable view glibc-base/receipt @ rev 4186
slitaz-loram*: pre_install may hang with gnu patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 23 09:18:25 2009 +0200 (2009-09-23) |
parents | b30c937c2ca9 |
children | d42b38d61b43 |
line source
1 # SliTaz package receipt.
3 PACKAGE="glibc-base"
4 VERSION="2.10.1"
5 CATEGORY="base-system"
6 SHORT_DESC="GNU libc minimal libraries for SliTaz based system."
7 WEB_SITE="http://www.gnu.org/software/libc/"
8 WANTED="glibc"
9 MAINTAINER="pankso@slitaz.org"
11 # Rules to gen a SliTaz package suitable for Tazpkg.
12 #
13 # Full glibc is very long to compile (see package glibc for more
14 # informations). You can use the precompiled package available on
15 # SliTaz mirror to build a distro without recompiling glibc.
16 #
17 genpkg_rules()
18 {
19 # Mkdir's.
20 for dir in `cat stuff/mkdir.list`
21 do
22 mkdir -p ${fs}$dir
23 done
24 # Copy all files specified in stuff/files.list. We get the files
25 # from glibc package.
26 for file in `cat stuff/wanted-files.list`
27 do
28 cp -a ${_pkg}$file ${fs}$file
29 done
30 }
32 # Call ldconfig and remove old glibc-2.3.6 (slitaz 1.0) and glibc-2.7
33 # files.
34 pre_install()
35 {
36 rm -f $1/usr/lib/locale/locale-archive
37 }
39 post_install()
40 {
41 rm -f $1/lib/*2.3.6.so
42 rm -f $1/lib/*2.7.so
43 rm -f $1/lib/*2.9.so
44 }