# HG changeset patch # User Hans-G?nter Theisgen # Date 1713001727 -3600 # Node ID b70ccaef1b57846633c5cc0c0577522d03d6acb1 # Parent 0c82700f4debd58826c89f2973b8e1fbbce181ad updated mmv (1.01b-18 -> 2.6) diff -r 0c82700f4deb -r b70ccaef1b57 mmv/description.txt --- a/mmv/description.txt Fri Apr 12 10:06:53 2024 +0000 +++ b/mmv/description.txt Sat Apr 13 10:48:47 2024 +0100 @@ -1,8 +1,10 @@ -This is mmv, a program to move/copy/append/link multiple files according to a -set of wildcard patterns. All csh wildcards ('*', '?', '['...']', and '~') are -supported. This multiple action is performed safely, i.e. without any +mmv is a program to move, copy, append, or link multiple files according to a +set of wildcard patterns. +All csh wildcards ('*', '?', '['...']', and '~') are supported. +This multiple action is performed safely, i.e. without any unexpected deletion of files due to collisions of target names with existing -filenames or with other target names. Furthermore, before doing anything, mmv -attempts to detect any errors that would result from the entire set of actions -specified and gives the user the choice of either aborting before beginning, or -proceeding by avoiding the offending parts. +filenames or with other target names. +Furthermore, before doing anything, mmv attempts to detect any errors that +would result from the entire set of actions specified and gives the user the +choice of either aborting before beginning, or proceeding by avoiding the +offending parts. diff -r 0c82700f4deb -r b70ccaef1b57 mmv/receipt --- a/mmv/receipt Fri Apr 12 10:06:53 2024 +0000 +++ b/mmv/receipt Sat Apr 13 10:48:47 2024 +0100 @@ -1,47 +1,29 @@ # SliTaz package receipt. PACKAGE="mmv" -VERSION="1.01b-18" +VERSION="2.6" CATEGORY="system-tools" -SHORT_DESC="Move, copy, append, or link multiple files in one command" +SHORT_DESC="Move, copy, append, or link multiple files in one command." MAINTAINER="Lucas Levrel " -LICENSE="GPL" -WEB_SITE="https://packages.debian.org/sid/mmv" -TARBALL="${PACKAGE}_${VERSION%-*}.orig.tar.gz" -WGET_URL="http://http.debian.net/debian/pool/main/m/mmv/$TARBALL" -EXTRA_SOURCE_FILES="${PACKAGE}_$VERSION.debian.tar.gz" +LICENSE="GPL3+" +WEB_SITE="https://github.com/rrthomas/mmv" -DEPENDS="" -BUILD_DEPENDS="" +TARBALL="${PACKAGE}-${VERSION}.tar.gz" +WGET_URL="$WEB_SITE/releases/download/v$VERSION/$TARBALL" -# What is the latest version available today? -current_version() -{ - wget -O - ${WGET_URL%/*} 2>/dev/null | \ - sed "/latest/d;/${PACKAGE}_/!d;/debian/!d;s|.*${PACKAGE}_\\(.*\\).debian.*\".*|\\1|" | sort -Vr | sed q -} +DEPENDS="gc" +BUILD_DEPENDS="gc-dev" # Rules to configure and make the package. compile_rules() { - wget -O "$SOURCES_REPOSITORY/${PACKAGE}_$VERSION.debian.tar.gz" \ - http://http.debian.net/debian/pool/main/m/mmv/${PACKAGE}_$VERSION.debian.tar.gz - tar -xzf $SOURCES_REPOSITORY/${PACKAGE}_$VERSION.debian.tar.gz debian/patches/ - cat debian/patches/series | while read file; do - patch -p1 < debian/patches/$file - done - sed -i '/^CFLAGS/s/=-O2/+=/; /^LDFLAGS/s/-N//' Makefile - mkdir -p $install/usr/bin $install/usr/share/man/man1 - make && make install - cd $install/usr/bin - ln -s mmv mcp - ln -s mmv mad - ln -s mmv mln + ./configure --prefix=/usr && + make && + make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - cp -a $install/* $fs - rm -r $fs/usr/share + cook_copy_folders bin }