wok-next diff mmv/receipt @ rev 21481

updated airgeddon (8.12 -> 10.21)
author Hans-G?nter Theisgen
date Thu Jun 18 14:24:40 2020 +0100 (2020-06-18)
parents d43bf7aae921
children
line diff
     1.1 --- a/mmv/receipt	Wed Mar 21 15:58:17 2018 +0200
     1.2 +++ b/mmv/receipt	Thu Jun 18 14:24:40 2020 +0100
     1.3 @@ -7,16 +7,12 @@
     1.4  MAINTAINER="Lucas Levrel <llev@slitaz.org>"
     1.5  LICENSE="GPL"
     1.6  WEB_SITE="https://packages.debian.org/sid/mmv"
     1.7 +
     1.8  TARBALL="${PACKAGE}_${VERSION%-*}.orig.tar.gz"
     1.9  WGET_URL="http://http.debian.net/debian/pool/main/m/mmv/$TARBALL"
    1.10  EXTRA_SOURCE_FILES="${PACKAGE}_$VERSION.debian.tar.gz"
    1.11  
    1.12 -DEPENDS=""
    1.13 -BUILD_DEPENDS=""
    1.14 -
    1.15 -# Rules to configure and make the package.
    1.16 -compile_rules()
    1.17 -{
    1.18 +compile_rules() {
    1.19  	wget -O "$SRC/${PACKAGE}_$VERSION.debian.tar.gz" \
    1.20  		http://http.debian.net/debian/pool/main/m/mmv/${PACKAGE}_$VERSION.debian.tar.gz
    1.21  	tar -xzf $SRC/${PACKAGE}_$VERSION.debian.tar.gz debian/patches/
    1.22 @@ -25,16 +21,17 @@
    1.23  	done
    1.24  	sed -i '/^CFLAGS/s/=-O2/+=/; /^LDFLAGS/s/-N//' Makefile
    1.25  	mkdir -p $install/usr/bin $install/usr/share/man/man1
    1.26 -	make && make install
    1.27 +
    1.28 +	make &&
    1.29 +	make install || return 1
    1.30 +
    1.31  	cd $install/usr/bin
    1.32  	ln -s mmv mcp
    1.33  	ln -s mmv mad
    1.34  	ln -s mmv mln
    1.35  }
    1.36  
    1.37 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.38 -genpkg_rules()
    1.39 -{
    1.40 +genpkg_rules() {
    1.41  	cp -a $install/* $fs
    1.42  	rm -r $fs/usr/share
    1.43  }