wok-6.x view mc/receipt @ rev 17993
Up slitaz-icons-faenza (1.3), slitaz-icons-nuovext (0.5.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 23 17:21:50 2015 +0200 (2015-04-23) |
parents | d12ce34a0d9a |
children | 1a6705a92d7c |
line source
1 # SliTaz package receipt.
3 PACKAGE="mc"
4 VERSION="4.8.14"
5 CATEGORY="system-tools"
6 SHORT_DESC="Midnight Commander - ncurses based file manager."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://www.midnight-commander.org/"
11 WGET_URL="http://www.midnight-commander.org/downloads/$TARBALL"
12 TAGS="file-manager text-editor"
13 HOST_ARCH="i486 arm"
15 SUGGESTED="gpm"
16 DEPENDS="ncursesw glib e2fsprogs util-linux-blkid"
17 BUILD_DEPENDS="gpm-dev glib-dev ncursesw-dev util-linux-mount-dev \
18 util-linux-blkid-dev util-linux-uuid-dev"
19 GENERIC_MENUS="no"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 sed -i 's/lzma -cd/lzcat/' $src/src/editor/edit.c
26 ./configure \
27 --prefix=/usr \
28 --with-gpm-mouse \
29 --with-screen=ncurses \
30 --libexecdir=/usr/lib \
31 --sysconfdir=/etc \
32 $CONFIGURE_ARGS &&
33 make && make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/share/applications
40 cp -a $install/etc $fs/
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/lib $fs/usr
43 cp -a $install/usr/share/mc $fs/usr/share
45 sed 's#|profile|#&receipt|#' -i $fs/usr/share/mc/syntax/Syntax
46 sed 's/lzma -dc/lzcat/g' -i $fs/usr/lib/mc/ext.d/archive.sh
47 cp -a $stuff/*.desktop $fs/usr/share/applications
48 chown -R root:root $fs
49 }