wok rev 20830

updated diffutils (3.6 -> 3.7)
author Hans-G?nter Theisgen
date Tue Feb 19 17:34:52 2019 +0100 (2019-02-19)
parents 68779cca8bf6
children 47d354ec6e62
files diffutils/receipt
line diff
     1.1 --- a/diffutils/receipt	Tue Feb 19 17:20:08 2019 +0100
     1.2 +++ b/diffutils/receipt	Tue Feb 19 17:34:52 2019 +0100
     1.3 @@ -1,21 +1,24 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="diffutils"
     1.7 -VERSION="3.6"
     1.8 +VERSION="3.7"
     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 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.16 -WEB_SITE="http://www.gnu.org/software/diffutils/"
    1.17  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.18  
    1.19  # Rules to configure and make the package.
    1.20  compile_rules()
    1.21  {
    1.22 -	cd $src
    1.23  	sed -i 's:= @mkdir_p@:= /bin/mkdir -p:' po/Makefile.in.in
    1.24 -	./configure --prefix=/usr $CONFIGURE_ARGS &&
    1.25 +
    1.26 +	./configure \
    1.27 +		--prefix=/usr \
    1.28 +		$CONFIGURE_ARGS &&
    1.29  	make &&
    1.30  	make DESTDIR=$DESTDIR install
    1.31  }
    1.32 @@ -25,6 +28,14 @@
    1.33  {
    1.34  	mkdir -p $fs/usr
    1.35  	cp -a $install/usr/bin $fs/usr
    1.36 +
    1.37 +	# Localisations:
    1.38 +	for lang in da de fr id it pt_BR ro ru; do
    1.39 +		mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES
    1.40 +		cp -a $install/usr/share/locale/$lang/LC_MESSAGES/diffutils.mo \
    1.41 +			$fs/usr/share/locale/$lang/LC_MESSAGES/diffutils.mo
    1.42 +	done
    1.43 +
    1.44  }
    1.45  
    1.46  # Overlap busybox