summaryrefslogtreecommitdiffstats
path: root/base/mc/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-06-20 16:19:38 +0200
committertnut <thierryn1 at hispeed dot ch>2010-06-20 16:19:38 +0200
commit0507f303d2ac418aefffa22b1e6a03a94e53b4ab (patch)
treeafa74095c4a3bca309d53c1e49eb002dbfcb8180 /base/mc/Pkgfile
parentee094d58bf45fa3ac419bdd957a203b0303fad1f (diff)
downloadnutyx-extra-0507f303d2ac418aefffa22b1e6a03a94e53b4ab.tar.gz
nutyx-extra-0507f303d2ac418aefffa22b1e6a03a94e53b4ab.tar.bz2
nutyx-extra-0507f303d2ac418aefffa22b1e6a03a94e53b4ab.tar.xz
nutyx-extra-0507f303d2ac418aefffa22b1e6a03a94e53b4ab.zip
mc dans base
Diffstat (limited to 'base/mc/Pkgfile')
-rwxr-xr-xbase/mc/Pkgfile39
1 files changed, 39 insertions, 0 deletions
diff --git a/base/mc/Pkgfile b/base/mc/Pkgfile
new file mode 100755
index 000000000..fa7abd998
--- /dev/null
+++ b/base/mc/Pkgfile
@@ -0,0 +1,39 @@
+# Description: Gestionnaire de fichiers en ligne de commande comme Norton commander
+# URL: http://www.ibiblio.org/mc/
+# Maintainer: NuTyX coreteam
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: p7zip, e2fsprogs, pcre, gpm, slang, glib
+
+name=mc
+version=4.7.2
+release=1
+source=(http://www.midnight-commander.org/downloads/$name-$version.tar.bz2)
+
+build() {
+ cd $name-$version
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --enable-background \
+ --enable-charset \
+ --enable-largefile \
+ --with-edit \
+ --with-gpm-mouse \
+ --with-mmap \
+ --with-samba \
+ --with-screen=slang \
+ --with-subshell \
+ --with-vfs \
+ --with-x \
+ --without-debug \
+ --without-gnome \
+ --without-included-gettext \
+ --libexecdir=/usr/lib
+
+ make
+ make DESTDIR=$PKG install
+ sed -i 's|op_has_zipinfo = 0|op_has_zipinfo = 1|' \
+ $PKG/usr/lib/mc/extfs.d/uzip
+ rm $PKG/usr/lib/mc/extfs.d/u7z
+}