wok-next diff coreutils/receipt @ rev 19589

Up faenza-icon-theme, tzdata.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jan 21 11:36:06 2017 +0200 (2017-01-21)
parents 1d0123efe74c
children 4550df96633d
line diff
     1.1 --- a/coreutils/receipt	Wed Jun 15 17:23:11 2016 +0300
     1.2 +++ b/coreutils/receipt	Sat Jan 21 11:36:06 2017 +0200
     1.3 @@ -2,11 +2,12 @@
     1.4  
     1.5  PACKAGE="coreutils"
     1.6  VERSION="8.25"
     1.7 -CATEGORY="system-tools"
     1.8 +CATEGORY="meta"
     1.9  SHORT_DESC="Utilities for using and setting the basic system."
    1.10  MAINTAINER="pankso@slitaz.org"
    1.11  LICENSE="GPL3"
    1.12  WEB_SITE="https://www.gnu.org/software/coreutils/coreutils.html"
    1.13 +
    1.14  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.15  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.16  
    1.17 @@ -18,8 +19,8 @@
    1.18  coreutils-file-special coreutils-file-summarize coreutils-line coreutils-\
    1.19  numeric coreutils-operations coreutils-path coreutils-print coreutils-\
    1.20  redirection"
    1.21 -DEPENDS="glibc-base acl attr gmp"
    1.22 -BUILD_DEPENDS="automake xz libcap-dev gmp-dev"
    1.23 +DEPENDS="glibc-base acl attr gmp $SPLIT"
    1.24 +BUILD_DEPENDS="automake autoconf gettext xz libcap-dev gmp-dev patch"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28 @@ -28,6 +29,10 @@
    1.29  	patch -Np1 -i $stuff/coreutils-8.25-i18n-2.patch
    1.30  	# SliTaz: show extended info touching CPU via uname
    1.31  	patch  -p1 -i $stuff/uname.u
    1.32 +	# SliTaz: fix translations, especially deprecated symbol '\v'
    1.33 +	patch  -p1 -i $stuff/coreutils-fix-po.patch
    1.34 +	msgfmt po/nb.po -o po/nb.gmo
    1.35 +	msgfmt po/sl.po -o po/sl.gmo
    1.36  
    1.37  	autoreconf -fi
    1.38  
    1.39 @@ -47,38 +52,4 @@
    1.40  	mv  $install/usr/share/man/man1/chroot.1 \
    1.41  		$install/usr/share/man/man8/chroot.8
    1.42  	sed -i 's|"1"|"8"|' $install/usr/share/man/man8/chroot.8
    1.43 -
    1.44 -	find $install/usr/share/man -type f -exec gzip -9 \{\} \;
    1.45  }
    1.46 -
    1.47 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.48 -genpkg_rules()
    1.49 -{
    1.50 -	# A set of binaries looks intriguing, isn't it?
    1.51 -	# For what is this package with exactly these binaries?
    1.52 -
    1.53 -	mkdir -p $fs/usr/bin $fs/bin
    1.54 -
    1.55 -	cd $install/usr/bin
    1.56 -	cp -a base64 csplit factor fmt join od paste ptx shred shuf split users \
    1.57 -		groups $fs/usr/bin
    1.58 -
    1.59 -	cp -a $install/bin/cp $fs/bin
    1.60 -}
    1.61 -
    1.62 -post_install()
    1.63 -{
    1.64 -	# Remove Busybox applet in order to not clash with
    1.65 -	# /usr/bin/base64 from this package.
    1.66 -	rm "$1/bin/base64"
    1.67 -}
    1.68 -
    1.69 -post_remove()
    1.70 -{
    1.71 -	ln -s      busybox "$1/bin/base64"
    1.72 -	ln -s      busybox "$1/bin/cp"
    1.73 -	ln -s /bin/busybox "$1/usr/bin/groups"
    1.74 -	ln -s /bin/busybox "$1/usr/bin/od"
    1.75 -	ln -s /bin/busybox "$1/usr/bin/split"
    1.76 -	ln -s /bin/busybox "$1/usr/bin/users"
    1.77 -}