[Lunar-commits] <moonbase> mc: add support utf8 locale support (option)
Zachary McGrew
zmcgrew at lunar-linux.org
Sat Mar 7 03:22:28 CET 2009
commit 53268e2f0aa84a196fc22c7eb756ce3861700b96
Author: Denis <0lvin at ukr.net>
Date: Fri Mar 6 18:22:28 2009 -0800
mc: add support utf8 locale support (option)
---
filemanagers/mc/BUILD | 3 +++
filemanagers/mc/CONFIGURE | 1 +
filemanagers/mc/DETAILS | 6 +++++-
3 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/filemanagers/mc/BUILD b/filemanagers/mc/BUILD
index 34d3435..f5e2615 100644
--- a/filemanagers/mc/BUILD
+++ b/filemanagers/mc/BUILD
@@ -1,4 +1,7 @@
(
+ if [ "$USE_UTF8" == "y" ]; then
+ patch_it $SOURCE2 1
+ fi
./configure --build=$BUILD \
--prefix=/usr \
diff --git a/filemanagers/mc/CONFIGURE b/filemanagers/mc/CONFIGURE
new file mode 100644
index 0000000..86ba96f
--- /dev/null
+++ b/filemanagers/mc/CONFIGURE
@@ -0,0 +1 @@
+mquery USE_UTF8 "Do you want enable UTF8 locale support patch (UNOFFICIAL)?" n
diff --git a/filemanagers/mc/DETAILS b/filemanagers/mc/DETAILS
index 6998308..0e21ea3 100644
--- a/filemanagers/mc/DETAILS
+++ b/filemanagers/mc/DETAILS
@@ -3,9 +3,13 @@
SOURCE=$MODULE-$VERSION.tar.gz
SOURCE_URL=http://www.midnight-commander.org/downloads
SOURCE_VFY=sha1:c6f3072384d670caa82ca1cc4b1777c0f066e341
+ SOURCE2=$MODULE-$VERSION-utf8.patch.gz
+ SOURCE2_URL[0]=$SOURCE_URL
+ SOURCE2_URL[1]=$PATCH_URL
+ SOURCE2_VFY=sha1:957192502dedf20f0aaeece7af72e6c6b4ffc11d
WEB_SITE=http://www.ibiblio.org/mc
ENTERED=20010922
- UPDATED=20090202
+ UPDATED=20090305
SHORT="Unix file manager and shell"
cat << EOF
More information about the Lunar-commits
mailing list