wok-current rev 24482

updated diffutils (3.7 -> 3.8)
author Hans-G?nter Theisgen
date Fri Feb 18 14:45:09 2022 +0100 (2022-02-18)
parents 4d99047b64c1
children 8cd7415960ec
files diffutils-lang/receipt diffutils/description.txt diffutils/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/diffutils-lang/receipt	Fri Feb 18 14:45:09 2022 +0100
     1.3 @@ -0,0 +1,17 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="diffutils-lang"
     1.7 +VERSION="3.8"
     1.8 +CATEGORY="localization"
     1.9 +SHORT_DESC="Show differences between two files - localised messages."
    1.10 +MAINTAINER="maintainer@slitaz.org"
    1.11 +LICENSE="GPL3"
    1.12 +WEB_SITE="https://www.gnu.org/software/diffutils/"
    1.13 +
    1.14 +WANTED="diffutils" 
    1.15 +
    1.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.17 +genpkg_rules()
    1.18 +{
    1.19 +	cook_copy_folders	locale
    1.20 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/diffutils/description.txt	Fri Feb 18 14:45:09 2022 +0100
     2.3 @@ -0,0 +1,7 @@
     2.4 +GNU Diffutils is a package of several programs related to finding
     2.5 +differences between files.
     2.6 +
     2.7 +Computer users often find occasion to ask how two files differ.
     2.8 +Perhaps one file is a newer version of the other file. Or maybe
     2.9 +the two files started out as identical copies but were changed
    2.10 +by different people.
     3.1 --- a/diffutils/receipt	Fri Feb 18 14:13:16 2022 +0100
     3.2 +++ b/diffutils/receipt	Fri Feb 18 14:45:09 2022 +0100
     3.3 @@ -1,16 +1,18 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="diffutils"
     3.7 -VERSION="3.7"
     3.8 +VERSION="3.8"
     3.9  CATEGORY="development"
    3.10  SHORT_DESC="Show differences between two files."
    3.11  MAINTAINER="pascal.bellard@slitaz.org"
    3.12  LICENSE="GPL3"
    3.13 -WEB_SITE="http://www.gnu.org/software/diffutils/"
    3.14 +WEB_SITE="https://www.gnu.org/software/diffutils/"
    3.15  
    3.16  TARBALL="$PACKAGE-$VERSION.tar.xz"
    3.17  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    3.18  
    3.19 +SUGGESTED="diffutils-lang"
    3.20 +
    3.21  # What is the latest version available today?
    3.22  current_version()
    3.23  {
    3.24 @@ -21,39 +23,39 @@
    3.25  # Rules to configure and make the package.
    3.26  compile_rules()
    3.27  {
    3.28 +	# 3.8 might be obsolete
    3.29  	sed -i 's:= @mkdir_p@:= /bin/mkdir -p:' po/Makefile.in.in
    3.30  
    3.31 -	./configure \
    3.32 -		--prefix=/usr \
    3.33 +	./configure		\
    3.34 +		--prefix=/usr	\
    3.35  		$CONFIGURE_ARGS &&
    3.36  	make &&
    3.37 -	make DESTDIR=$DESTDIR install
    3.38 +	make install DESTDIR=$DESTDIR
    3.39  }
    3.40  
    3.41  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.42  genpkg_rules()
    3.43  {
    3.44 -	mkdir -p $fs/usr
    3.45 -	cp -a $install/usr/bin $fs/usr
    3.46 +	cook_copy_folders	bin
    3.47  
    3.48 +# moved to package diffutils-lang
    3.49  	# Localisations:
    3.50 -	for lang in da de fr id it pt_BR ro ru; do
    3.51 -		mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES
    3.52 -		cp -a $install/usr/share/locale/$lang/LC_MESSAGES/diffutils.mo \
    3.53 -			$fs/usr/share/locale/$lang/LC_MESSAGES/diffutils.mo
    3.54 -	done
    3.55 -
    3.56 +#	for lang in da de fr id it pt_BR ro ru; do
    3.57 +#		mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES
    3.58 +#		cp -a $install/usr/share/locale/$lang/LC_MESSAGES/diffutils.mo \
    3.59 +#			$fs/usr/share/locale/$lang/LC_MESSAGES/diffutils.mo
    3.60 +#	done
    3.61  }
    3.62  
    3.63  # Overlap busybox
    3.64  pre_install()
    3.65  {
    3.66 -	rm -f "$1/usr/bin/diff"
    3.67 -	rm -f "$1/usr/bin/cmp"
    3.68 +	rm -f			"$1/usr/bin/diff"
    3.69 +	rm -f			"$1/usr/bin/cmp"
    3.70  }
    3.71  
    3.72  post_remove()
    3.73  {
    3.74 -	ln -s /bin/busybox "$1/usr/bin/diff"
    3.75 -	ln -s /bin/busybox "$1/usr/bin/cmp"
    3.76 +	ln -s /bin/busybox	"$1/usr/bin/diff"
    3.77 +	ln -s /bin/busybox	"$1/usr/bin/cmp"
    3.78  }