wok-next view glibc-base/receipt @ rev 2803

Add:cdrkit-isoinfo for isoinfo utils
author Rohit Joshi <jozee@slitaz.org>
date Tue Apr 28 15:36:12 2009 +0000 (2009-04-28)
parents 90aff787d4cc
children ce51efec9a26
line source
1 # SliTaz package receipt.
3 PACKAGE="glibc-base"
4 VERSION="2.9"
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 # Gen locale files (see also locale-pack).
31 mkdir -p $fs/usr/lib/locale
32 localedef -i fr_FR -c -f ISO-8859-1 $fs/usr/lib/locale/fr_FR
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 }