wok-current view mc/receipt @ rev 17317
Add tix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 04 08:58:28 2014 +0100 (2014-11-04) |
parents | 3ba86ab5ebce |
children | 5d53e8ccbc8d |
line source
1 # SliTaz package receipt.
3 PACKAGE="mc"
4 VERSION="4.8.13"
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 HOST_ARCH="i486 arm"
14 SUGGESTED="gpm"
15 DEPENDS="ncursesw glib e2fsprogs"
16 BUILD_DEPENDS="gpm-dev glib-dev ncursesw-dev"
17 GENERIC_MENUS="no"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure \
23 --prefix=/usr \
24 --with-gpm-mouse \
25 --with-screen=ncurses \
26 --libexecdir=/usr/lib \
27 --sysconfdir=/etc \
28 $CONFIGURE_ARGS &&
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg. --enable-vfs-sftp
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share/applications
36 cp -a $install/etc $fs/
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/lib $fs/usr
39 cp -a $install/usr/share/mc $fs/usr/share
41 sed 's#|profile|#&receipt|#' -i $fs/usr/share/mc/syntax/Syntax
42 cp -a $stuff/*.desktop $fs/usr/share/applications
43 chown -R root:root $fs
44 }