wok-6.x annotate glibc-base/receipt @ rev 3337
Fix: mplayer-svn compile with gcc44, smplayer, gnome-mplayer work (but still no skin)
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Wed Jun 10 16:38:49 2009 +0000 (2009-06-10) |
parents | ce51efec9a26 |
children | d5991fc2b1b3 |
rev | line source |
---|---|
pankso@2 | 1 # SliTaz package receipt. |
pankso@2 | 2 |
pankso@2 | 3 PACKAGE="glibc-base" |
pankso@3152 | 4 VERSION="2.10.1" |
pankso@2 | 5 CATEGORY="base-system" |
pankso@2 | 6 SHORT_DESC="GNU libc minimal libraries for SliTaz based system." |
pankso@2701 | 7 WEB_SITE="http://www.gnu.org/software/libc/" |
pankso@2 | 8 WANTED="glibc" |
pankso@2 | 9 MAINTAINER="pankso@slitaz.org" |
pankso@2 | 10 |
pankso@2891 | 11 # Make deps on French locale for a while |
pankso@2891 | 12 DEPENDS="locale-fr" |
pankso@2891 | 13 |
pankso@2 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2 | 15 # |
pankso@2 | 16 # Full glibc is very long to compile (see package glibc for more |
pankso@2 | 17 # informations). You can use the precompiled package available on |
pankso@2 | 18 # SliTaz mirror to build a distro without recompiling glibc. |
pankso@2 | 19 # |
pankso@2 | 20 genpkg_rules() |
pankso@2 | 21 { |
pankso@2 | 22 # Mkdir's. |
pankso@2 | 23 for dir in `cat stuff/mkdir.list` |
pankso@2 | 24 do |
pankso@2 | 25 mkdir -p ${fs}$dir |
pankso@2 | 26 done |
pankso@2 | 27 # Copy all files specified in stuff/files.list. We get the files |
pankso@2 | 28 # from glibc package. |
pankso@2 | 29 for file in `cat stuff/wanted-files.list` |
pankso@2 | 30 do |
pankso@2 | 31 cp -a ${_pkg}$file ${fs}$file |
pankso@2 | 32 done |
pankso@2 | 33 } |
pankso@528 | 34 |
pankso@2701 | 35 # Call ldconfig and remove old glibc-2.3.6 (slitaz 1.0) and glibc-2.7 |
pankso@2701 | 36 # files. |
pankso@2701 | 37 pre_install() |
pankso@2701 | 38 { |
pankso@2701 | 39 rm -f $1/usr/lib/locale/locale-archive |
pankso@2701 | 40 } |
pankso@2701 | 41 |
pankso@528 | 42 post_install() |
pankso@528 | 43 { |
pankso@528 | 44 local root |
pankso@2701 | 45 rm -f $1/lib/*2.3.6.so |
pankso@2701 | 46 rm -f $1/lib/*2.7.so |
pankso@3152 | 47 rm -f $1/lib/*2.9.so |
pankso@528 | 48 } |