wok rev 21424

updated mc (4.8.15 -> 4.8.22)
author Hans-G?nter Theisgen
date Thu Apr 25 16:33:53 2019 +0100 (2019-04-25)
parents 52d9234f1d70
children 079d56df3a6d
files mc/receipt
line diff
     1.1 --- a/mc/receipt	Thu Apr 25 08:53:31 2019 +0000
     1.2 +++ b/mc/receipt	Thu Apr 25 16:33:53 2019 +0100
     1.3 @@ -1,36 +1,39 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="mc"
     1.7 -VERSION="4.8.15"
     1.8 +VERSION="4.8.22"
     1.9  CATEGORY="system-tools"
    1.10 +TAGS="file-manager text-editor"
    1.11  SHORT_DESC="Midnight Commander - ncurses based file manager."
    1.12  MAINTAINER="erjo@slitaz.org"
    1.13  LICENSE="GPL3"
    1.14 +WEB_SITE="https://www.midnight-commander.org/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.17 -WEB_SITE="http://www.midnight-commander.org/"
    1.18 -WGET_URL="http://www.midnight-commander.org/downloads/$TARBALL"
    1.19 -TAGS="file-manager text-editor"
    1.20 -HOST_ARCH="i486 arm"
    1.21 +WGET_URL="http://ftp.midnight-commander.org/$TARBALL"
    1.22  
    1.23  SUGGESTED="gpm xz cdrkit-isoinfo lynx w3m wv poppler-apps file "
    1.24 -DEPENDS="ncursesw glib e2fsprogs util-linux-blkid"
    1.25 -BUILD_DEPENDS="gpm-dev glib-dev ncursesw-dev util-linux-mount-dev \
    1.26 - util-linux-blkid-dev util-linux-uuid-dev ncurses-extra"
    1.27 +DEPENDS="e2fsprogs glib ncursesw util-linux-blkid"
    1.28 +BUILD_DEPENDS="glib-dev gpm-dev ncursesw-dev ncurses-extra \
    1.29 +	util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev "
    1.30  GENERIC_MENUS="no"
    1.31  
    1.32 +HOST_ARCH="i486 arm"
    1.33 +
    1.34  # Rules to configure and make the package.
    1.35  compile_rules()
    1.36  {
    1.37  	sed -i 's/lzma -cd/lzcat/' $src/src/editor/edit.c
    1.38  
    1.39 -	./configure \
    1.40 -		--prefix=/usr \
    1.41 -		--with-gpm-mouse \
    1.42 -		--with-screen=ncurses \
    1.43 -		--libexecdir=/usr/lib \
    1.44 -		--sysconfdir=/etc \
    1.45 +	./configure			\
    1.46 +		--prefix=/usr		\
    1.47 +		--with-gpm-mouse	\
    1.48 +		--with-screen=ncurses	\
    1.49 +		--libexecdir=/usr/lib	\
    1.50 +		--sysconfdir=/etc	\
    1.51  		$CONFIGURE_ARGS &&
    1.52 -	make && make install
    1.53 +	make -j 1 &&
    1.54 +	make install
    1.55  
    1.56  	mkdir -p $install/usr/share/terminfo/s
    1.57  	cp -a /usr/share/terminfo/s/screen-256color $install/usr/share/terminfo/s
    1.58 @@ -40,11 +43,12 @@
    1.59  genpkg_rules()
    1.60  {
    1.61  	mkdir -p $fs/usr/share/applications
    1.62 -	cp -a $install/etc $fs/
    1.63 -	cp -a $install/usr/bin $fs/usr
    1.64 -	cp -a $install/usr/lib $fs/usr
    1.65 -	cp -a $install/usr/share/mc $fs/usr/share
    1.66 -	cp -a $install/usr/share/terminfo $fs/usr/share
    1.67 +
    1.68 +	cp -a $install/etc			$fs/
    1.69 +	cp -a $install/usr/bin			$fs/usr
    1.70 +	cp -a $install/usr/lib			$fs/usr
    1.71 +	cp -a $install/usr/share/mc		$fs/usr/share
    1.72 +	cp -a $install/usr/share/terminfo	$fs/usr/share
    1.73  
    1.74  	sed 's#&) ||#) ||#' -i $fs/usr/lib/mc/ext.d/*.sh
    1.75  	sed 's#|profile|#&receipt|#' -i $fs/usr/share/mc/syntax/Syntax
    1.76 @@ -76,6 +80,7 @@
    1.77  mc \$@
    1.78  
    1.79  EOF
    1.80 +
    1.81  	chmod 755 $fs/usr/bin/mc.sh
    1.82  	chown -R root:root $fs
    1.83  }