wok-next view mc/receipt @ rev 19867
Up mplayer-cli (1.3.0)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Wed Sep 27 16:49:12 2017 +0200 (2017-09-27) |
parents | fb09e19f5a32 |
children | 2bdd61fbf114 |
line source
1 # SliTaz package receipt.
3 PACKAGE="mc"
4 VERSION="4.8.18"
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 TAGS="file-manager text-editor"
11 HOST_ARCH="i486 arm"
13 TARBALL="$PACKAGE-$VERSION.tar.xz"
14 WGET_URL="http://ftp.midnight-commander.org/$TARBALL"
16 SUGGESTED="gpm xz cdrkit-isoinfo lynx w3m wv poppler-apps file"
17 DEPENDS="ncurses glib e2fsprogs util-linux-blkid libssh2 libssl libcrypto zlib pcre"
18 BUILD_DEPENDS="gpm-dev glib-dev ncurses-dev util-linux-mount-dev \
19 util-linux-blkid-dev util-linux-uuid-dev check-dev gettext libssh2-dev"
21 COOKOPTS="!menus"
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 sed -i 's/lzma -cd/lzcat/' $src/src/editor/edit.c
28 ./configure \
29 --enable-charset \
30 --with-gpm-mouse \
31 --with-screen=ncurses \
32 --sysconfdir=/etc \
33 $CONFIGURE_ARGS &&
34 make && make install
36 mkdir -p $install/usr/share/terminfo/s
37 cp -a /usr/share/terminfo/s/screen-256color $install/usr/share/terminfo/s
39 mkdir -p $install/usr/share/applications
40 cp $stuff/*.desktop $install/usr/share/applications
42 install -m755 $stuff/mc.sh $install/usr/bin
44 chown -R root:root $install
45 }
47 # Rules to gen a SliTaz package suitable for Tazpkg.
48 genpkg_rules()
49 {
50 copy bin/ mc/ terminfo/ applications/
52 sed -i 's#|profile|#&receipt|#' $fs/usr/share/mc/syntax/Syntax
53 sed -i 's/lzma -dc/lzcat/g' $fs/usr/libexec/mc/ext.d/archive.sh
54 }