wok-next view mc/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 6f5739796e82
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="mc"
4 VERSION="4.8.22"
5 CATEGORY="system-tools"
6 SHORT_DESC="Midnight Commander - ncurses based file manager"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://midnight-commander.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/mc.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="http://ftp.midnight-commander.org/$TARBALL"
14 TARBALL_SHA1="5a207973a69269e6bdc9a7e4e989a8acfb4a46af"
16 BUILD_DEPENDS="check-dev glib-dev gettext-dev gpm-dev libssh2-dev"
17 SPLIT="$PACKAGE-noarch"
19 COOKOPTS="!menus"
21 COPY_std="mc mcdiff mcedit mcview cons.saver"
22 COPY_noarch="@std @rm"
24 DEPENDS_std="$PACKAGE-noarch glib libssh2 ncurses"
26 CAT_noarch="system-tools|common files"
28 SUGGESTED_std="perl python openssl gpm xz cdrkit-isoinfo lynx w3m wv poppler file"
29 TAGS_std="file-manager text-editor"
31 compile_rules() {
32 ./configure \
33 --enable-charset \
34 --with-gpm-mouse \
35 --with-screen=ncurses \
36 $CONFIGURE_ARGS &&
37 fix libtool &&
38 make &&
39 make install || return 1
41 install -Dm644 /usr/share/terminfo/s/screen-256color \
42 $install/usr/share/terminfo/s/screen-256color
44 install -Dm644 $stuff/mc.desktop $install/usr/share/applications/mc.desktop
45 install -Dm644 $stuff/mc-root.desktop $install/usr/share/applications/mc-root.desktop
46 install -Dm755 $stuff/mc.sh $install/usr/bin/mc.sh
47 }