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

Add checkspace / fetchall feature for tazpkg
author Stanislas Leduc <shann@slitaz.org>
date Thu Mar 14 20:28:39 2024 +0000 (8 months ago)
parents a23978bfa665
children
line source
1 # SliTaz package receipt.
3 PACKAGE="glibc-dev"
4 VERSION="2.28"
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/"
12 DEPENDS="glibc-base"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 #
16 # This package is part of the toolchain. We use list to mkdir and cp files.
17 #
18 genpkg_rules()
19 {
20 # Mass copy and then remove all files specified in stuff/base-files.list.
21 # We get the files from glibc-base. Locale files are in: glibc-locale.
22 cp -a $install/* $fs
24 # Rm base files.
25 echo -n "Removing all base files..."
26 for file in `cat $WOK/glibc-base/taz/glibc-base-$VERSION/files.list`
27 do
28 rm -f ${fs}$file
29 done
30 rm -rf $fs/etc
31 rm -rf $fs/usr/share
32 status
34 # Rm locale.
35 echo -n "Removing all locale files..."
36 for file in `cat $WOK/glibc-locale/taz/glibc-locale-$VERSION/files.list`
37 do
38 rm -f ${fs}$file
39 done
40 rm -rf $fs/usr/lib/gconv
41 status
42 }