wok rev 25689
updated mmv (1.01b-18 -> 2.6)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 13 10:48:47 2024 +0100 (6 months ago) |
parents | 0c82700f4deb |
children | 8aa51c2b501d |
files | mmv/description.txt mmv/receipt |
line diff
1.1 --- a/mmv/description.txt Fri Apr 12 10:06:53 2024 +0000 1.2 +++ b/mmv/description.txt Sat Apr 13 10:48:47 2024 +0100 1.3 @@ -1,8 +1,10 @@ 1.4 -This is mmv, a program to move/copy/append/link multiple files according to a 1.5 -set of wildcard patterns. All csh wildcards ('*', '?', '['...']', and '~') are 1.6 -supported. This multiple action is performed safely, i.e. without any 1.7 +mmv is a program to move, copy, append, or link multiple files according to a 1.8 +set of wildcard patterns. 1.9 +All csh wildcards ('*', '?', '['...']', and '~') are supported. 1.10 +This multiple action is performed safely, i.e. without any 1.11 unexpected deletion of files due to collisions of target names with existing 1.12 -filenames or with other target names. Furthermore, before doing anything, mmv 1.13 -attempts to detect any errors that would result from the entire set of actions 1.14 -specified and gives the user the choice of either aborting before beginning, or 1.15 -proceeding by avoiding the offending parts. 1.16 +filenames or with other target names. 1.17 +Furthermore, before doing anything, mmv attempts to detect any errors that 1.18 +would result from the entire set of actions specified and gives the user the 1.19 +choice of either aborting before beginning, or proceeding by avoiding the 1.20 +offending parts.
2.1 --- a/mmv/receipt Fri Apr 12 10:06:53 2024 +0000 2.2 +++ b/mmv/receipt Sat Apr 13 10:48:47 2024 +0100 2.3 @@ -1,47 +1,29 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="mmv" 2.7 -VERSION="1.01b-18" 2.8 +VERSION="2.6" 2.9 CATEGORY="system-tools" 2.10 -SHORT_DESC="Move, copy, append, or link multiple files in one command" 2.11 +SHORT_DESC="Move, copy, append, or link multiple files in one command." 2.12 MAINTAINER="Lucas Levrel <llev@slitaz.org>" 2.13 -LICENSE="GPL" 2.14 -WEB_SITE="https://packages.debian.org/sid/mmv" 2.15 -TARBALL="${PACKAGE}_${VERSION%-*}.orig.tar.gz" 2.16 -WGET_URL="http://http.debian.net/debian/pool/main/m/mmv/$TARBALL" 2.17 -EXTRA_SOURCE_FILES="${PACKAGE}_$VERSION.debian.tar.gz" 2.18 +LICENSE="GPL3+" 2.19 +WEB_SITE="https://github.com/rrthomas/mmv" 2.20 2.21 -DEPENDS="" 2.22 -BUILD_DEPENDS="" 2.23 +TARBALL="${PACKAGE}-${VERSION}.tar.gz" 2.24 +WGET_URL="$WEB_SITE/releases/download/v$VERSION/$TARBALL" 2.25 2.26 -# What is the latest version available today? 2.27 -current_version() 2.28 -{ 2.29 - wget -O - ${WGET_URL%/*} 2>/dev/null | \ 2.30 - sed "/latest/d;/${PACKAGE}_/!d;/debian/!d;s|.*${PACKAGE}_\\(.*\\).debian.*\".*|\\1|" | sort -Vr | sed q 2.31 -} 2.32 +DEPENDS="gc" 2.33 +BUILD_DEPENDS="gc-dev" 2.34 2.35 # Rules to configure and make the package. 2.36 compile_rules() 2.37 { 2.38 - wget -O "$SOURCES_REPOSITORY/${PACKAGE}_$VERSION.debian.tar.gz" \ 2.39 - http://http.debian.net/debian/pool/main/m/mmv/${PACKAGE}_$VERSION.debian.tar.gz 2.40 - tar -xzf $SOURCES_REPOSITORY/${PACKAGE}_$VERSION.debian.tar.gz debian/patches/ 2.41 - cat debian/patches/series | while read file; do 2.42 - patch -p1 < debian/patches/$file 2.43 - done 2.44 - sed -i '/^CFLAGS/s/=-O2/+=/; /^LDFLAGS/s/-N//' Makefile 2.45 - mkdir -p $install/usr/bin $install/usr/share/man/man1 2.46 - make && make install 2.47 - cd $install/usr/bin 2.48 - ln -s mmv mcp 2.49 - ln -s mmv mad 2.50 - ln -s mmv mln 2.51 + ./configure --prefix=/usr && 2.52 + make && 2.53 + make install 2.54 } 2.55 2.56 # Rules to gen a SliTaz package suitable for Tazpkg. 2.57 genpkg_rules() 2.58 { 2.59 - cp -a $install/* $fs 2.60 - rm -r $fs/usr/share 2.61 + cook_copy_folders bin 2.62 }