]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blobdiff - lfs/mc
Renamed some fields...
[people/arne_f/ipfire-3.x.git] / lfs / mc
diff --git a/lfs/mc b/lfs/mc
index 1d3845af983c6e553331bd7567c5ac4af1097f08..c961ccc2d6d546edd15d9d8ae9b96aeda05623f7 100644 (file)
--- a/lfs/mc
+++ b/lfs/mc
 include Config
 
 PKG_NAME   = mc
-VER        = 4.6.1
+PKG_VER    = 4.6.1
 
 EXTRA      = yes
 DEBUG      = no
+DEPS       = glib2 slang
 
-THISAPP    = $(PKG_NAME)-$(VER)
+THISAPP    = $(PKG_NAME)-$(PKG_VER)
 DL_FILE    = $(THISAPP).tar.gz
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 
-TARGET     = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
+OBJECT     = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
 
 ###############################################################################
 # Top-level Rules
@@ -43,7 +44,10 @@ TARGET     = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
 objects = $(DL_FILE) $(THISAPP)-bash32-1.patch \
        $(THISAPP)-debian_fixes-1.patch
 
-install: $(TARGET)
+info:
+       $(DO_PKG_INFO)
+
+install: $(OBJECT)
 
 download : $(objects)
 
@@ -54,13 +58,16 @@ $(objects) :
 # Installation Details
 ###############################################################################
 
-$(TARGET) : 
+$(OBJECT) : 
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
        cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-bash32-1.patch
        cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-debian_fixes-1.patch
-       cd $(DIR_APP) && CPPFLAGS="$(CPPFLAGS) -DUTF8" ./configure --prefix=/usr \
-               --enable-charset
+       cd $(DIR_APP) && CPPFLAGS="$(CPPFLAGS) -DUTF8" \
+               ./configure \
+                       $(CONFIGURE_ARCH) \
+                       --prefix=/usr \
+                       --enable-charset
        cd $(DIR_APP) && make $(PARALLELISMFLAGS)
        cd $(DIR_APP) && make install
        chmod 1755 /usr/lib/mc/cons.saver