wok-next diff mc/receipt @ rev 20709
cdrdao: add patch.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 26 17:09:29 2018 +0300 (2018-05-26) |
parents | 757d032c55c7 |
children | e7a485521d6a |
line diff
1.1 --- a/mc/receipt Fri Mar 30 19:31:50 2018 +0300 1.2 +++ b/mc/receipt Sat May 26 17:09:29 2018 +0300 1.3 @@ -1,49 +1,43 @@ 1.4 # SliTaz package receipt v2. 1.5 1.6 PACKAGE="mc" 1.7 -VERSION="4.8.19" 1.8 +VERSION="4.8.20" 1.9 CATEGORY="system-tools" 1.10 SHORT_DESC="Midnight Commander - ncurses based file manager" 1.11 MAINTAINER="erjo@slitaz.org" 1.12 LICENSE="GPL3" 1.13 WEB_SITE="http://midnight-commander.org/" 1.14 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/mc.html" 1.15 1.16 TARBALL="$PACKAGE-$VERSION.tar.xz" 1.17 WGET_URL="http://ftp.midnight-commander.org/$TARBALL" 1.18 1.19 -BUILD_DEPENDS="gpm-dev glib-dev ncurses-dev util-linux-mount-dev \ 1.20 -util-linux-blkid-dev util-linux-uuid-dev check-dev gettext libssh2-dev" 1.21 +BUILD_DEPENDS="check-dev glib-dev gettext gpm-dev libssh2-dev" 1.22 1.23 COOKOPTS="!menus" 1.24 1.25 compile_rules() { 1.26 - sed -i 's/lzma -cd/lzcat/' $src/src/editor/edit.c 1.27 - 1.28 ./configure \ 1.29 --enable-charset \ 1.30 --with-gpm-mouse \ 1.31 --with-screen=ncurses \ 1.32 $CONFIGURE_ARGS && 1.33 + fix libtool && 1.34 make && 1.35 - make install 1.36 + make install || return 1 1.37 1.38 - mkdir -p $install/usr/share/terminfo/s 1.39 - cp -a /usr/share/terminfo/s/screen-256color $install/usr/share/terminfo/s 1.40 + install -Dm644 /usr/share/terminfo/s/screen-256color \ 1.41 + $install/usr/share/terminfo/s/screen-256color 1.42 1.43 - mkdir -p $install/usr/share/applications 1.44 - cp $stuff/*.desktop $install/usr/share/applications 1.45 - 1.46 - install -m755 $stuff/mc.sh $install/usr/bin 1.47 - 1.48 - chown -R root:root $install 1.49 + install -Dm644 $stuff/mc.desktop $install/usr/share/applications/mc.desktop 1.50 + install -Dm644 $stuff/mc-root.desktop $install/usr/share/applications/mc-root.desktop 1.51 + install -Dm755 $stuff/mc.sh $install/usr/bin/mc.sh 1.52 } 1.53 1.54 genpkg_rules() { 1.55 - copy bin/ mc/ terminfo/ applications/ 1.56 - 1.57 - sed -i 's#|profile|#&receipt|#' $fs/usr/share/mc/syntax/Syntax 1.58 - sed -i 's/lzma -dc/lzcat/g' $fs/usr/libexec/mc/ext.d/archive.sh 1.59 - DEPENDS="ncurses glib e2fsprogs util-linux-blkid libssh2 openssl zlib pcre" 1.60 - SUGGESTED="gpm xz cdrkit-isoinfo lynx w3m wv poppler-apps file" 1.61 + copy @std 1.62 + DEPENDS="glib libssh2 ncurses" 1.63 + SUGGESTED="perl python openssl gpm xz cdrkit-isoinfo lynx w3m wv \ 1.64 + poppler-apps file" 1.65 TAGS="file-manager text-editor" 1.66 }