wok-current view glibc-base/receipt @ rev 3251

Add: html5lib
author Claudinei Pereira <claudinei@slitaz.org>
date Sun May 31 23:49:06 2009 +0000 (2009-05-31)
parents ce51efec9a26
children d5991fc2b1b3
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 # Make deps on French locale for a while
12 DEPENDS="locale-fr"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 #
16 # Full glibc is very long to compile (see package glibc for more
17 # informations). You can use the precompiled package available on
18 # SliTaz mirror to build a distro without recompiling glibc.
19 #
20 genpkg_rules()
21 {
22 # Mkdir's.
23 for dir in `cat stuff/mkdir.list`
24 do
25 mkdir -p ${fs}$dir
26 done
27 # Copy all files specified in stuff/files.list. We get the files
28 # from glibc package.
29 for file in `cat stuff/wanted-files.list`
30 do
31 cp -a ${_pkg}$file ${fs}$file
32 done
33 }
35 # Call ldconfig and remove old glibc-2.3.6 (slitaz 1.0) and glibc-2.7
36 # files.
37 pre_install()
38 {
39 rm -f $1/usr/lib/locale/locale-archive
40 }
42 post_install()
43 {
44 local root
45 rm -f $1/lib/*2.3.6.so
46 rm -f $1/lib/*2.7.so
47 rm -f $1/lib/*2.9.so
48 }