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
objects = $(DL_FILE)
-install : $(TARGET)
+install : $(OBJECT)
download : $(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)