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