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

Remove SDL_* to libSDL-* + fix deps for Wormux
author Christophe Lincoln <pankso@slitaz.org>
date Mon Aug 04 14:52:23 2008 +0200 (2008-08-04)
parents 73016cb6e50c
children 4a057e1fc620
line source
1 # SliTaz package receipt.
3 PACKAGE="glibc-base"
4 VERSION="2.7"
5 CATEGORY="base-system"
6 SHORT_DESC="GNU libc minimal libraries for SliTaz based system."
7 WEB_SITE="http://gcc.gnu.org/"
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
31 # Gen locale files (see also locale-pack).
32 #
33 mkdir -p $fs/usr/lib/locale
34 localedef -i fr_FR -c -f ISO-8859-1 $fs/usr/lib/locale/fr_FR
35 }
37 # Call ldconfig and remove old glibc-2.3.6 files.
38 post_install()
39 {
40 local root
41 root=$1
42 ldconfig
43 rm -f $root/lib/*2.3.6.so
44 rm -f $root/usr/lib/locale/locale-archive
45 }