wok diff coreutils-multicall/receipt @ rev 23979
xvkbd: update deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 18 09:50:51 2020 +0000 (2020-11-18) |
parents | 5b84caa85ec8 |
children | 17091bc7c301 |
line diff
1.1 --- a/coreutils-multicall/receipt Wed Jun 15 17:27:10 2016 +0300 1.2 +++ b/coreutils-multicall/receipt Wed Nov 18 09:50:51 2020 +0000 1.3 @@ -1,46 +1,56 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="coreutils-multicall" 1.7 -VERSION="8.25" 1.8 +VERSION="8.31" 1.9 CATEGORY="system-tools" 1.10 SHORT_DESC="Utilities for using and setting the basic system." 1.11 MAINTAINER="al.bobylev@gmail.com" 1.12 LICENSE="GPL3" 1.13 WEB_SITE="https://www.gnu.org/software/coreutils/coreutils.html" 1.14 + 1.15 TARBALL="coreutils-$VERSION.tar.xz" 1.16 -WGET_URL="$GNU_MIRROR/coreutils/$TARBALL" 1.17 +WGET_URL="https://ftp.gnu.org/gnu/coreutils/$TARBALL" 1.18 1.19 SIBLINGS="coreutils" 1.20 -DEPENDS="glibc-base acl attr libcap gmp" 1.21 -BUILD_DEPENDS="automake xz libcap-dev gmp-dev" 1.22 +DEPENDS="acl attr glibc-base gmp libcap" 1.23 +BUILD_DEPENDS="automake gmp-dev libcap-dev xz" 1.24 1.25 # Rules to configure and make the package. 1.26 compile_rules() 1.27 { 1.28 # LFS: Coreutils Internationalization Fixes Patch 1.29 - patch -Np1 -i $WOK/coreutils/stuff/coreutils-8.25-i18n-2.patch 1.30 +# patch -Np1 -i $WOK/coreutils/stuff/coreutils-8.25-i18n-2.patch 1.31 + 1.32 # SliTaz: show extended info touching CPU via uname 1.33 patch -p1 -i $WOK/coreutils/stuff/uname.u 1.34 1.35 autoreconf -fi 1.36 1.37 - FORCE_UNSAFE_CONFIGURE=1 \ 1.38 - ./configure \ 1.39 - --enable-single-binary=symlinks \ 1.40 + # bypass checking whether mknod can create fifo without root privileges 1.41 + export FORCE_UNSAFE_CONFIGURE=1 1.42 + 1.43 + ./configure \ 1.44 + --enable-single-binary=symlinks \ 1.45 $CONFIGURE_ARGS && 1.46 - make && make install 1.47 + make && 1.48 + make install 1.49 1.50 # LFS: Move programs to the locations specified by the FHS 1.51 - mkdir -p $install/bin $install/usr/sbin $install/usr/share/man/man8 1.52 + mkdir -p $install/bin 1.53 + mkdir -p $install/usr/sbin 1.54 + mkdir -p $install/usr/share/man/man8 1.55 + 1.56 for i in cat chgrp chmod chown cp date dd df echo false ln ls mkdir \ 1.57 - mknod mv pwd rm rmdir stty sync true uname; do 1.58 + mknod mv pwd rm rmdir stty sync true uname 1.59 + do 1.60 rm $install/usr/bin/$i 1.61 - ln -s /usr/bin/coreutils $install/bin/$i 1.62 - done 1.63 + ln -s /usr/bin/coreutils $install/bin/$i 1.64 + done 1.65 rm $install/usr/bin/chroot 1.66 - ln -s /usr/bin/coreutils $install/usr/sbin/chroot 1.67 + ln -s /usr/bin/coreutils $install/usr/sbin/chroot 1.68 mv $install/usr/share/man/man1/chroot.1 \ 1.69 - $install/usr/share/man/man8/chroot.8 1.70 + $install/usr/share/man/man8/chroot.8 1.71 + 1.72 sed -i 's|"1"|"8"|' $install/usr/share/man/man8/chroot.8 1.73 1.74 find $install/usr/share/man -type f -exec gzip -9 \{\} \; 1.75 @@ -49,8 +59,9 @@ 1.76 # Rules to gen a SliTaz package suitable for Tazpkg. 1.77 genpkg_rules() 1.78 { 1.79 - cp -a $install/* $fs 1.80 - rm -r $fs/usr/share/info $fs/usr/share/locale 1.81 + cp -a $install/* $fs 1.82 + rm -r $fs/usr/share/info 1.83 + rm -r $fs/usr/share/locale 1.84 } 1.85 1.86 post_install() 1.87 @@ -74,18 +85,20 @@ 1.88 # /bin: 1.89 for i in base64 cat chgrp chmod chown cp date dd df echo false kill ln ls \ 1.90 mkdir mknod mktemp mv nice printenv pwd rm rmdir sleep stat stty sync \ 1.91 - touch true uname; do 1.92 + touch true uname 1.93 + do 1.94 busybox ln -s busybox "$1/bin/$i" 1.95 - done 1.96 + done 1.97 1.98 # /usr/bin: 1.99 for i in '[' basename cksum comm cut dirname du env expand expr fold \ 1.100 groups head hostid id install logname md5sum mkfifo nohup od printf \ 1.101 readlink realpath seq sha1sum sha256sum sha512sum sort split sum tac \ 1.102 tail tee test timeout tr tty unexpand uniq uptime users wc who whoami \ 1.103 - yes; do 1.104 + yes 1.105 + do 1.106 busybox ln -s /bin/busybox "$1/usr/bin/$i" 1.107 - done 1.108 + done 1.109 1.110 # /usr/sbin: 1.111 busybox ln -s /bin/busybox "$1/usr/sbin/chroot"