wok-current annotate 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
rev   line source
pankso@9 1 # SliTaz package receipt.
pankso@9 2
pankso@9 3 PACKAGE="glibc-dev"
shann@25785 4 VERSION="2.31"
pankso@199 5 CATEGORY="development"
pankso@9 6 SHORT_DESC="The GNU C libraries devel files (Part of SliTaz toolchain)."
pankso@9 7 MAINTAINER="pankso@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
pankso@9 9 WANTED="glibc"
pankso@9 10 WEB_SITE="http://www.gnu.org/software/libc/"
shann@25728 11 HOST_ARCH="i486 x86_64"
pankso@9 12
pascal@15000 13 DEPENDS="glibc-base"
pascal@15000 14
pankso@9 15 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@9 16 #
pankso@9 17 # This package is part of the toolchain. We use list to mkdir and cp files.
pankso@9 18 #
pankso@9 19 genpkg_rules()
pankso@9 20 {
pankso@528 21 # Mass copy and then remove all files specified in stuff/base-files.list.
pankso@528 22 # We get the files from glibc-base. Locale files are in: glibc-locale.
pascal@17726 23 cp -a $install/* $fs
pankso@528 24
pankso@528 25 # Rm base files.
pankso@9 26 echo -n "Removing all base files..."
pankso@528 27 for file in `cat $WOK/glibc-base/taz/glibc-base-$VERSION/files.list`
pankso@9 28 do
pankso@9 29 rm -f ${fs}$file
pankso@9 30 done
pankso@9 31 rm -rf $fs/etc
pankso@528 32 rm -rf $fs/usr/share
pankso@528 33 status
pankso@528 34
pankso@528 35 # Rm locale.
pankso@528 36 echo -n "Removing all locale files..."
pankso@528 37 for file in `cat $WOK/glibc-locale/taz/glibc-locale-$VERSION/files.list`
pankso@528 38 do
pankso@528 39 rm -f ${fs}$file
pankso@528 40 done
pankso@528 41 rm -rf $fs/usr/lib/gconv
pankso@9 42 status
pankso@9 43 }