wok diff mmv/receipt @ rev 25689
updated mmv (1.01b-18 -> 2.6)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 13 10:48:47 2024 +0100 (5 weeks ago) |
parents | b78e79c31b1f |
children | 8aa51c2b501d |
line diff
1.1 --- a/mmv/receipt Fri Feb 11 11:14:46 2022 +0000 1.2 +++ b/mmv/receipt Sat Apr 13 10:48:47 2024 +0100 1.3 @@ -1,47 +1,29 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="mmv" 1.7 -VERSION="1.01b-18" 1.8 +VERSION="2.6" 1.9 CATEGORY="system-tools" 1.10 -SHORT_DESC="Move, copy, append, or link multiple files in one command" 1.11 +SHORT_DESC="Move, copy, append, or link multiple files in one command." 1.12 MAINTAINER="Lucas Levrel <llev@slitaz.org>" 1.13 -LICENSE="GPL" 1.14 -WEB_SITE="https://packages.debian.org/sid/mmv" 1.15 -TARBALL="${PACKAGE}_${VERSION%-*}.orig.tar.gz" 1.16 -WGET_URL="http://http.debian.net/debian/pool/main/m/mmv/$TARBALL" 1.17 -EXTRA_SOURCE_FILES="${PACKAGE}_$VERSION.debian.tar.gz" 1.18 +LICENSE="GPL3+" 1.19 +WEB_SITE="https://github.com/rrthomas/mmv" 1.20 1.21 -DEPENDS="" 1.22 -BUILD_DEPENDS="" 1.23 +TARBALL="${PACKAGE}-${VERSION}.tar.gz" 1.24 +WGET_URL="$WEB_SITE/releases/download/v$VERSION/$TARBALL" 1.25 1.26 -# What is the latest version available today? 1.27 -current_version() 1.28 -{ 1.29 - wget -O - ${WGET_URL%/*} 2>/dev/null | \ 1.30 - sed "/latest/d;/${PACKAGE}_/!d;/debian/!d;s|.*${PACKAGE}_\\(.*\\).debian.*\".*|\\1|" | sort -Vr | sed q 1.31 -} 1.32 +DEPENDS="gc" 1.33 +BUILD_DEPENDS="gc-dev" 1.34 1.35 # Rules to configure and make the package. 1.36 compile_rules() 1.37 { 1.38 - wget -O "$SOURCES_REPOSITORY/${PACKAGE}_$VERSION.debian.tar.gz" \ 1.39 - http://http.debian.net/debian/pool/main/m/mmv/${PACKAGE}_$VERSION.debian.tar.gz 1.40 - tar -xzf $SOURCES_REPOSITORY/${PACKAGE}_$VERSION.debian.tar.gz debian/patches/ 1.41 - cat debian/patches/series | while read file; do 1.42 - patch -p1 < debian/patches/$file 1.43 - done 1.44 - sed -i '/^CFLAGS/s/=-O2/+=/; /^LDFLAGS/s/-N//' Makefile 1.45 - mkdir -p $install/usr/bin $install/usr/share/man/man1 1.46 - make && make install 1.47 - cd $install/usr/bin 1.48 - ln -s mmv mcp 1.49 - ln -s mmv mad 1.50 - ln -s mmv mln 1.51 + ./configure --prefix=/usr && 1.52 + make && 1.53 + make install 1.54 } 1.55 1.56 # Rules to gen a SliTaz package suitable for Tazpkg. 1.57 genpkg_rules() 1.58 { 1.59 - cp -a $install/* $fs 1.60 - rm -r $fs/usr/share 1.61 + cook_copy_folders bin 1.62 }