wok-next view mc/receipt @ rev 20669
vde2: up / fix build
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 11 14:21:30 2018 +0300 (2018-05-11) |
parents | 757d032c55c7 |
children | e7a485521d6a |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="mc"
4 VERSION="4.8.20"
5 CATEGORY="system-tools"
6 SHORT_DESC="Midnight Commander - ncurses based file manager"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://midnight-commander.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/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 gpm-dev libssh2-dev"
17 COOKOPTS="!menus"
19 compile_rules() {
20 ./configure \
21 --enable-charset \
22 --with-gpm-mouse \
23 --with-screen=ncurses \
24 $CONFIGURE_ARGS &&
25 fix libtool &&
26 make &&
27 make install || return 1
29 install -Dm644 /usr/share/terminfo/s/screen-256color \
30 $install/usr/share/terminfo/s/screen-256color
32 install -Dm644 $stuff/mc.desktop $install/usr/share/applications/mc.desktop
33 install -Dm644 $stuff/mc-root.desktop $install/usr/share/applications/mc-root.desktop
34 install -Dm755 $stuff/mc.sh $install/usr/bin/mc.sh
35 }
37 genpkg_rules() {
38 copy @std
39 DEPENDS="glib libssh2 ncurses"
40 SUGGESTED="perl python openssl gpm xz cdrkit-isoinfo lynx w3m wv \
41 poppler-apps file"
42 TAGS="file-manager text-editor"
43 }