summaryrefslogtreecommitdiffstats
path: root/extra/mc/Pkgfile
diff options
context:
space:
mode:
authortyrry <tyrry33 at gmail dot com>2010-02-17 21:04:24 +0100
committertyrry <tyrry33 at gmail dot com>2010-02-17 21:04:24 +0100
commit1f7fa3967cf195a3b34a41c696903e00932e23eb (patch)
treeb9dffe84726754bf2c1b0512afe376570c3c33f9 /extra/mc/Pkgfile
parente49f45ec3e5870da9493ee3b1807348a308c361a (diff)
parentabd49a2b45d0587322069716d7143789a3393b81 (diff)
downloadnutyx-pakxe-1f7fa3967cf195a3b34a41c696903e00932e23eb.tar.gz
nutyx-pakxe-1f7fa3967cf195a3b34a41c696903e00932e23eb.tar.bz2
nutyx-pakxe-1f7fa3967cf195a3b34a41c696903e00932e23eb.tar.xz
nutyx-pakxe-1f7fa3967cf195a3b34a41c696903e00932e23eb.zip
Merge remote branch 'nutyx-2009/master'
Diffstat (limited to 'extra/mc/Pkgfile')
-rwxr-xr-xextra/mc/Pkgfile48
1 files changed, 31 insertions, 17 deletions
diff --git a/extra/mc/Pkgfile b/extra/mc/Pkgfile
index 329d4333d..f5d71dad5 100755
--- a/extra/mc/Pkgfile
+++ b/extra/mc/Pkgfile
@@ -2,29 +2,43 @@
# URL: http://www.ibiblio.org/mc/
# Maintainer: NuTyX coreteam
# Packager: thierryn1 at hispeed dot ch
-# Depends on: gpm, slang
+# Depends on: p7zip, e2fsprogs, glib2, pcre, gpm, slang
name=mc
version=4.7.0.2
release=1
-_name=29
-source=(http://www.midnight-commander.org/downloads/${_name})
-# (http://www.ibiblio.org/pub/Linux/utils/file/managers/$name/$name-$version.tar.gz)
-# http://www.linuxfromscratch.org/patches/blfs/6.3/$name-$version-bash32-1.patch \
-# http://www.linuxfriomscratch.org/patches/blfs/6.3/$name-$version-debian_fixes-1.patch \
-# )
+source=(http://www.midnight-commander.org/downloads/$name-$version.tar.bz2 \
+ mc-4.7.0.2_hotlist_syntax.patch)
build() {
- cd ${_name}
-# patch -Np1 -i ../mc-4.6.1-bash32-1.patch
-# patch -Np1 -i ../mc-4.6.1-debian_fixes-1.patch
- ./configure --prefix=/usr \
+ cd $name-$version
+ patch -p1 < ../mc-4.7.0.2_hotlist_syntax.patch
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info \
- --with-glib12 \
- --without-x \
- --sysconfdir=/etc
+ --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
- chmod 1755 $PKG/usr/lib/mc/cons.saver
+ make DESTDIR=$PKG install
+ # Fix FS#15177
+ sed -i 's|op_has_zipinfo = 0|op_has_zipinfo = 1|' \
+ $PKG/usr/share/mc/extfs/uzip
+
+ # Fix FS#18312
+ rm $PKG/usr/share/mc/extfs/u7z
}