]> git.ipfire.org Git - ipfire-3.x.git/blobdiff - lfs/initd-tools
Renamed some fields...
[ipfire-3.x.git] / lfs / initd-tools
index ae5cd2081bfe8ea7c7cc53d080150789c6db4784..c71d97ec12e0bb294fc9f6fbd3ec3a928c51707a 100644 (file)
 include Config
 
 PKG_NAME   = initd-tools
-VER        = 20080831
+PKG_VER    = 0.1.3
 
-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
@@ -39,7 +39,7 @@ TARGET     = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
 
 objects = $(DL_FILE)
 
-install : $(TARGET)
+install : $(OBJECT)
 
 download : $(objects)
 
@@ -50,16 +50,14 @@ $(objects) :
 # Installation Details
 ###############################################################################
 
-$(TARGET) : 
+$(OBJECT) : 
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
-
-       cd $(DIR_APP) && ./configure \
-                       --prefix=/usr \
-                       --disable-static \
-                       --with-initdlibdir=/usr/lib/lsb
+       cd $(DIR_APP) && \
+               ./configure \
+                       $(CONFIGURE_ARCH) \
+                       --prefix=/usr
        cd $(DIR_APP) && make $(PARALLELISMFLAGS)
        cd $(DIR_APP) && make install
-
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)