wok-6.x view glibc-base/receipt @ rev 32
Add : alsa-* and sound libs (ogg, mad, etc) + mpg123
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Dec 18 14:04:58 2007 +0100 (2007-12-18) |
parents | |
children | af18769d0676 |
line source
1 # SliTaz package receipt.
3 PACKAGE="glibc-base"
4 VERSION="2.3.6"
5 CATEGORY="base-system"
6 SHORT_DESC="GNU libc minimal libraries for SliTaz based system."
7 WANTED="glibc"
8 MAINTAINER="pankso@slitaz.org"
10 # Rules to gen a SliTaz package suitable for Tazpkg.
11 #
12 # Full glibc is very long to compile (see package glibc for more
13 # informations). You can use the precompiled package available on
14 # SliTaz mirror to build a distro without recompiling glibc.
15 #
16 genpkg_rules()
17 {
18 # Mkdir's.
19 for dir in `cat stuff/mkdir.list`
20 do
21 mkdir -p ${fs}$dir
22 done
23 # Copy all files specified in stuff/files.list. We get the files
24 # from glibc package.
25 for file in `cat stuff/wanted-files.list`
26 do
27 cp -a ${_pkg}$file ${fs}$file
28 done
29 # Strip files.
30 strip --strip-unneeded $fs/lib/*.so*
31 strip --strip-unneeded $fs/usr/bin/* 2>/dev/null
32 strip --strip-unneeded $fs/usr/lib/*.so* 2>/dev/null
33 strip --strip-unneeded $fs/usr/lib/gconv/*.so*
34 # Locale archive. Just a silly copy (idea ?).
35 cp stuff/locale-archive $fs/usr/lib/locale
36 }