summaryrefslogtreecommitdiffstats
path: root/mc/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
committertnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
commit3f57a7f93b3e7550cbd73036f6a56654e17d1d5c (patch)
tree819b14ab0377fe2054fe59866669d904e9e0b4b5 /mc/Pkgfile
parentc9972ec7f32bf9d37388e853fe9bf633e242d05a (diff)
downloadnutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.gz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.bz2
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.xz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.zip
split de git pakxe et NuTyX-extra
Diffstat (limited to 'mc/Pkgfile')
-rwxr-xr-xmc/Pkgfile39
1 files changed, 39 insertions, 0 deletions
diff --git a/mc/Pkgfile b/mc/Pkgfile
new file mode 100755
index 000000000..f3bf60f3a
--- /dev/null
+++ b/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 : glib,slang
+# Run on:glib,slang
+name=mc
+version=4.7.5
+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
+}