wok-current view glibc-dev/receipt @ rev 25785

Mass rebuild after bump to glibc 2.31, add epson printer and scanner package
author Stanislas Leduc <shann@slitaz.org>
date Tue Jul 15 20:40:17 2025 +0000 (3 months ago)
parents 5926178cd6fa
children 6cbabf87b12b
line source
1 # SliTaz package receipt.
3 PACKAGE="glibc-dev"
4 VERSION="2.31"
5 CATEGORY="development"
6 SHORT_DESC="The GNU C libraries devel files (Part of SliTaz toolchain)."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WANTED="glibc"
10 WEB_SITE="http://www.gnu.org/software/libc/"
11 HOST_ARCH="i486 x86_64"
13 DEPENDS="glibc-base"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 #
17 # This package is part of the toolchain. We use list to mkdir and cp files.
18 #
19 genpkg_rules()
20 {
21 # Mass copy and then remove all files specified in stuff/base-files.list.
22 # We get the files from glibc-base. Locale files are in: glibc-locale.
23 cp -a $install/* $fs
25 # Rm base files.
26 echo -n "Removing all base files..."
27 for file in `cat $WOK/glibc-base/taz/glibc-base-$VERSION/files.list`
28 do
29 rm -f ${fs}$file
30 done
31 rm -rf $fs/etc
32 rm -rf $fs/usr/share
33 status
35 # Rm locale.
36 echo -n "Removing all locale files..."
37 for file in `cat $WOK/glibc-locale/taz/glibc-locale-$VERSION/files.list`
38 do
39 rm -f ${fs}$file
40 done
41 rm -rf $fs/usr/lib/gconv
42 status
43 }