wok-6.x rev 23168

updated mc (4.8.22 -> 4.8.24)
author Hans-G?nter Theisgen
date Wed Mar 18 06:58:12 2020 +0100 (2020-03-18)
parents 1b44d49dab4c
children e9de689753f8
files mc/receipt
line diff
     1.1 --- a/mc/receipt	Tue Mar 17 16:47:24 2020 +0100
     1.2 +++ b/mc/receipt	Wed Mar 18 06:58:12 2020 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="mc"
     1.7 -VERSION="4.8.22"
     1.8 +VERSION="4.8.24"
     1.9  CATEGORY="system-tools"
    1.10  TAGS="file-manager text-editor"
    1.11  SHORT_DESC="Midnight Commander - ncurses based file manager."
    1.12 @@ -12,10 +12,11 @@
    1.13  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.14  WGET_URL="http://ftp.midnight-commander.org/$TARBALL"
    1.15  
    1.16 -SUGGESTED="gpm xz cdrkit-isoinfo lynx w3m wv poppler-apps file "
    1.17 +SUGGESTED="cdrkit-isoinfo file gpm lynx poppler-apps w3m wv xz"
    1.18  DEPENDS="e2fsprogs glib ncursesw util-linux-blkid"
    1.19 -BUILD_DEPENDS="glib-dev gpm-dev ncursesw-dev ncurses-extra \
    1.20 +BUILD_DEPENDS="glib-dev gpm-dev ncursesw-dev ncurses-extra 
    1.21  	util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev "
    1.22 +
    1.23  GENERIC_MENUS="no"
    1.24  
    1.25  HOST_ARCH="i486 arm"
    1.26 @@ -37,7 +38,8 @@
    1.27  	make install
    1.28  
    1.29  	mkdir -p $install/usr/share/terminfo/s
    1.30 -	cp -a /usr/share/terminfo/s/screen-256color $install/usr/share/terminfo/s
    1.31 +	cp -a /usr/share/terminfo/s/screen-256color \
    1.32 +		$install/usr/share/terminfo/s
    1.33  }
    1.34  
    1.35  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.36 @@ -51,10 +53,14 @@
    1.37  	cp -a $install/usr/share/mc		$fs/usr/share
    1.38  	cp -a $install/usr/share/terminfo	$fs/usr/share
    1.39  
    1.40 -	sed 's#&) ||#) ||#' -i $fs/usr/lib/mc/ext.d/*.sh
    1.41 -	sed 's#|profile|#&receipt|#' -i $fs/usr/share/mc/syntax/Syntax
    1.42 -	sed 's/lzma -dc/lzcat/g' -i	$fs/usr/lib/mc/ext.d/archive.sh
    1.43 -	cp -a $stuff/*.desktop $fs/usr/share/applications
    1.44 +	sed -i 's#&) ||#) ||#' \
    1.45 +		$fs/usr/lib/mc/ext.d/*.sh
    1.46 +	sed -i 's#|profile|#&receipt|#' \
    1.47 +		$fs/usr/share/mc/syntax/Syntax
    1.48 +	sed -i 's/lzma -dc/lzcat/g' \
    1.49 +		$fs/usr/lib/mc/ext.d/archive.sh
    1.50 +
    1.51 +	cp -a $stuff/*.desktop			$fs/usr/share/applications
    1.52  
    1.53  	cat > $fs/usr/bin/mc.sh <<EOF
    1.54  case \$TERM in
    1.55 @@ -82,6 +88,6 @@
    1.56  
    1.57  EOF
    1.58  
    1.59 -	chmod 755 $fs/usr/bin/mc.sh
    1.60 -	chown -R root:root $fs
    1.61 +	chmod 755		$fs/usr/bin/mc.sh
    1.62 +	chown -R root:root	$fs
    1.63  }