wok view mc/receipt @ rev 17834

Add: get-sublime-text-3.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Mar 23 04:43:23 2015 +0200 (2015-03-23)
parents 108901a0f197
children c7d47ca7fed5
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 TAGS="file-manager text-editor"
13 HOST_ARCH="i486 arm"
15 SUGGESTED="gpm"
16 DEPENDS="ncursesw glib e2fsprogs"
17 BUILD_DEPENDS="gpm-dev glib-dev ncursesw-dev"
18 GENERIC_MENUS="no"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./configure \
24 --prefix=/usr \
25 --with-gpm-mouse \
26 --with-screen=ncurses \
27 --libexecdir=/usr/lib \
28 --sysconfdir=/etc \
29 $CONFIGURE_ARGS &&
30 make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg. --enable-vfs-sftp
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share/applications
37 cp -a $install/etc $fs/
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/lib $fs/usr
40 cp -a $install/usr/share/mc $fs/usr/share
42 sed 's#|profile|#&receipt|#' -i $fs/usr/share/mc/syntax/Syntax
43 cp -a $stuff/*.desktop $fs/usr/share/applications
44 chown -R root:root $fs
45 }