wok diff diffutils/receipt @ rev 25192

updated python-formencode (1.2.2 -> 2.0.1)
author Hans-G?nter Theisgen
date Wed Jul 13 10:37:28 2022 +0100 (2022-07-13)
parents 71360a13cd94
children d79ed38ace18
line diff
     1.1 --- a/diffutils/receipt	Fri Jan 28 18:19:21 2022 +0000
     1.2 +++ b/diffutils/receipt	Wed Jul 13 10:37:28 2022 +0100
     1.3 @@ -1,16 +1,18 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="diffutils"
     1.7 -VERSION="3.7"
     1.8 +VERSION="3.8"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Show differences between two files."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL3"
    1.13 -WEB_SITE="http://www.gnu.org/software/diffutils/"
    1.14 +WEB_SITE="https://www.gnu.org/software/diffutils/"
    1.15  
    1.16  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.17  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.18  
    1.19 +SUGGESTED="diffutils-lang"
    1.20 +
    1.21  # What is the latest version available today?
    1.22  current_version()
    1.23  {
    1.24 @@ -21,39 +23,39 @@
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28 +	# 3.8 might be obsolete
    1.29  	sed -i 's:= @mkdir_p@:= /bin/mkdir -p:' po/Makefile.in.in
    1.30  
    1.31 -	./configure \
    1.32 -		--prefix=/usr \
    1.33 +	./configure		\
    1.34 +		--prefix=/usr	\
    1.35  		$CONFIGURE_ARGS &&
    1.36  	make &&
    1.37 -	make DESTDIR=$DESTDIR install
    1.38 +	make install DESTDIR=$DESTDIR
    1.39  }
    1.40  
    1.41  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.42  genpkg_rules()
    1.43  {
    1.44 -	mkdir -p $fs/usr
    1.45 -	cp -a $install/usr/bin $fs/usr
    1.46 +	cook_copy_folders	bin
    1.47  
    1.48 +# moved to package diffutils-lang
    1.49  	# Localisations:
    1.50 -	for lang in da de fr id it pt_BR ro ru; do
    1.51 -		mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES
    1.52 -		cp -a $install/usr/share/locale/$lang/LC_MESSAGES/diffutils.mo \
    1.53 -			$fs/usr/share/locale/$lang/LC_MESSAGES/diffutils.mo
    1.54 -	done
    1.55 -
    1.56 +#	for lang in da de fr id it pt_BR ro ru; do
    1.57 +#		mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES
    1.58 +#		cp -a $install/usr/share/locale/$lang/LC_MESSAGES/diffutils.mo \
    1.59 +#			$fs/usr/share/locale/$lang/LC_MESSAGES/diffutils.mo
    1.60 +#	done
    1.61  }
    1.62  
    1.63  # Overlap busybox
    1.64  pre_install()
    1.65  {
    1.66 -	rm -f "$1/usr/bin/diff"
    1.67 -	rm -f "$1/usr/bin/cmp"
    1.68 +	rm -f			"$1/usr/bin/diff"
    1.69 +	rm -f			"$1/usr/bin/cmp"
    1.70  }
    1.71  
    1.72  post_remove()
    1.73  {
    1.74 -	ln -s /bin/busybox "$1/usr/bin/diff"
    1.75 -	ln -s /bin/busybox "$1/usr/bin/cmp"
    1.76 +	ln -s /bin/busybox	"$1/usr/bin/diff"
    1.77 +	ln -s /bin/busybox	"$1/usr/bin/cmp"
    1.78  }