wok-next view mc/receipt @ rev 21031
Random updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 03 15:42:26 2018 +0200 (2018-11-03) |
parents | 5fac1a2da249 |
children | 6f5739796e82 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="mc"
4 VERSION="4.8.21"
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"
15 BUILD_DEPENDS="check-dev glib-dev gettext-dev gpm-dev libssh2-dev"
16 SPLIT="$PACKAGE-noarch"
18 COOKOPTS="!menus"
20 compile_rules() {
21 ./configure \
22 --enable-charset \
23 --with-gpm-mouse \
24 --with-screen=ncurses \
25 $CONFIGURE_ARGS &&
26 fix libtool &&
27 make &&
28 make install || return 1
30 install -Dm644 /usr/share/terminfo/s/screen-256color \
31 $install/usr/share/terminfo/s/screen-256color
33 install -Dm644 $stuff/mc.desktop $install/usr/share/applications/mc.desktop
34 install -Dm644 $stuff/mc-root.desktop $install/usr/share/applications/mc-root.desktop
35 install -Dm755 $stuff/mc.sh $install/usr/bin/mc.sh
36 }
38 genpkg_rules() {
39 case $PACKAGE in
40 mc)
41 copy mc mcdiff mcedit mcview cons.saver
42 DEPENDS="glib libssh2 ncurses"
43 SUGGESTED="perl python openssl gpm xz cdrkit-isoinfo lynx w3m wv \
44 poppler-apps file"
45 TAGS="file-manager text-editor"
46 ;;
47 mc-noarch)
48 copy @std @rm
49 CAT="system-tools|common files"
50 ;;
51 esac
52 }