wok-next view mc/receipt @ rev 20567

xfe: update receipt; qt5: undo `fix math`
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Apr 11 01:07:35 2018 +0300 (2018-04-11)
parents c4e53a39395a
children b1a1deb20f42
line source
1 # SliTaz package receipt v2.
3 PACKAGE="mc"
4 VERSION="4.8.19"
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/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="http://ftp.midnight-commander.org/$TARBALL"
14 BUILD_DEPENDS="gpm-dev glib-dev ncurses-dev util-linux-mount-dev \
15 util-linux-blkid-dev util-linux-uuid-dev check-dev gettext libssh2-dev"
17 COOKOPTS="!menus"
19 compile_rules() {
20 sed -i 's/lzma -cd/lzcat/' $src/src/editor/edit.c
22 ./configure \
23 --enable-charset \
24 --with-gpm-mouse \
25 --with-screen=ncurses \
26 $CONFIGURE_ARGS &&
27 make &&
28 make install
30 mkdir -p $install/usr/share/terminfo/s
31 cp -a /usr/share/terminfo/s/screen-256color $install/usr/share/terminfo/s
33 mkdir -p $install/usr/share/applications
34 cp $stuff/*.desktop $install/usr/share/applications
36 install -m755 $stuff/mc.sh $install/usr/bin
38 chown -R root:root $install
39 }
41 genpkg_rules() {
42 copy bin/ mc/ terminfo/ applications/
44 sed -i 's#|profile|#&receipt|#' $fs/usr/share/mc/syntax/Syntax
45 sed -i 's/lzma -dc/lzcat/g' $fs/usr/libexec/mc/ext.d/archive.sh
46 DEPENDS="ncurses glib e2fsprogs util-linux-blkid libssh2 openssl zlib pcre"
47 SUGGESTED="gpm xz cdrkit-isoinfo lynx w3m wv poppler-apps file"
48 TAGS="file-manager text-editor"
49 }