]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - pkgs/mc/mc.nm
Merge branch 'master' of ssh://git.ipfire.org/pub/git/ipfire-3.x
[people/ms/ipfire-3.x.git] / pkgs / mc / mc.nm
1 ###############################################################################
2 # #
3 # IPFire.org - A linux based firewall #
4 # Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
5 # #
6 # This program is free software: you can redistribute it and/or modify #
7 # it under the terms of the GNU General Public License as published by #
8 # the Free Software Foundation, either version 3 of the License, or #
9 # (at your option) any later version. #
10 # #
11 # This program is distributed in the hope that it will be useful, #
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of #
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
14 # GNU General Public License for more details. #
15 # #
16 # You should have received a copy of the GNU General Public License #
17 # along with this program. If not, see <http://www.gnu.org/licenses/>. #
18 # #
19 ###############################################################################
20
21 ###############################################################################
22 # Definitions
23 ###############################################################################
24
25 include $(PKGROOT)/Include
26
27 PKG_NAME = mc
28 PKG_VER = 4.7.4
29 PKG_REL = 1
30
31 PKG_MAINTAINER =
32 PKG_GROUPS = Applications/System
33 PKG_URL = http://www.ibiblio.org/mc/
34 PKG_LICENSE = GPLv2+
35 PKG_SUMMARY = User-friendly text console file manager and visual shell.
36
37 PKG_BUILD_DEPS+= e2fsprogs-devel glib2-devel pkg-config samba-devel slang-devel
38
39 # This awkward dependency is found and cannot be resolved.
40 PKG_REQUIRES_FILTER = perl\(pieces\)
41
42 define PKG_DESCRIPTION
43 Midnight Commander is a visual shell much like a file manager, only \
44 with many more features. It is a text mode application, but it also \
45 includes mouse support. Midnight Commander's best features are its \
46 ability to FTP, view tar and zip files, and to poke into RPMs for \
47 specific files.
48 endef
49
50 PKG_TARBALL = $(THISAPP).tar.bz2
51
52 CONFIGURE_OPTIONS += \
53 --sysconfdir=/etc \
54 --libexecdir=/usr/lib \
55 --with-screen=slang \
56 --with-samba \
57 --without-x \
58 --enable-charset \
59 --disable-rpath
60
61 define STAGE_INSTALL_CMDS
62 chmod 1755 $(BUILDROOT)/usr/lib/mc/cons.saver
63 endef