# HG changeset patch # User Hans-G?nter Theisgen # Date 1645191909 -3600 # Node ID 73d8fca57fa50bb8febf0a9b9fd208cacc2419ec # Parent 4d99047b64c1e95e3555981097d7c66b0fad2eb1 updated diffutils (3.7 -> 3.8) diff -r 4d99047b64c1 -r 73d8fca57fa5 diffutils-lang/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/diffutils-lang/receipt Fri Feb 18 14:45:09 2022 +0100 @@ -0,0 +1,17 @@ +# SliTaz package receipt. + +PACKAGE="diffutils-lang" +VERSION="3.8" +CATEGORY="localization" +SHORT_DESC="Show differences between two files - localised messages." +MAINTAINER="maintainer@slitaz.org" +LICENSE="GPL3" +WEB_SITE="https://www.gnu.org/software/diffutils/" + +WANTED="diffutils" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cook_copy_folders locale +} diff -r 4d99047b64c1 -r 73d8fca57fa5 diffutils/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/diffutils/description.txt Fri Feb 18 14:45:09 2022 +0100 @@ -0,0 +1,7 @@ +GNU Diffutils is a package of several programs related to finding +differences between files. + +Computer users often find occasion to ask how two files differ. +Perhaps one file is a newer version of the other file. Or maybe +the two files started out as identical copies but were changed +by different people. diff -r 4d99047b64c1 -r 73d8fca57fa5 diffutils/receipt --- a/diffutils/receipt Fri Feb 18 14:13:16 2022 +0100 +++ b/diffutils/receipt Fri Feb 18 14:45:09 2022 +0100 @@ -1,16 +1,18 @@ # SliTaz package receipt. PACKAGE="diffutils" -VERSION="3.7" +VERSION="3.8" CATEGORY="development" SHORT_DESC="Show differences between two files." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL3" -WEB_SITE="http://www.gnu.org/software/diffutils/" +WEB_SITE="https://www.gnu.org/software/diffutils/" TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" +SUGGESTED="diffutils-lang" + # What is the latest version available today? current_version() { @@ -21,39 +23,39 @@ # Rules to configure and make the package. compile_rules() { + # 3.8 might be obsolete sed -i 's:= @mkdir_p@:= /bin/mkdir -p:' po/Makefile.in.in - ./configure \ - --prefix=/usr \ + ./configure \ + --prefix=/usr \ $CONFIGURE_ARGS && make && - make DESTDIR=$DESTDIR install + make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr - cp -a $install/usr/bin $fs/usr + cook_copy_folders bin +# moved to package diffutils-lang # Localisations: - for lang in da de fr id it pt_BR ro ru; do - mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES - cp -a $install/usr/share/locale/$lang/LC_MESSAGES/diffutils.mo \ - $fs/usr/share/locale/$lang/LC_MESSAGES/diffutils.mo - done - +# for lang in da de fr id it pt_BR ro ru; do +# mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES +# cp -a $install/usr/share/locale/$lang/LC_MESSAGES/diffutils.mo \ +# $fs/usr/share/locale/$lang/LC_MESSAGES/diffutils.mo +# done } # Overlap busybox pre_install() { - rm -f "$1/usr/bin/diff" - rm -f "$1/usr/bin/cmp" + rm -f "$1/usr/bin/diff" + rm -f "$1/usr/bin/cmp" } post_remove() { - ln -s /bin/busybox "$1/usr/bin/diff" - ln -s /bin/busybox "$1/usr/bin/cmp" + ln -s /bin/busybox "$1/usr/bin/diff" + ln -s /bin/busybox "$1/usr/bin/cmp" }