include Config
-PKG_NAME = squashfs
-PKG_VER = 3.4
+PKG_NAME = squashfs-tools
+PKG_VER = 4.0-CVS-20090404
THISAPP = $(PKG_NAME)$(PKG_VER)
-DL_FILE = $(THISAPP).tar.gz
-DIR_APP = $(DIR_SRC)/$(THISAPP)
+DL_FILE = $(THISAPP).tar.bz2
+DIR_APP = $(DIR_SRC)/$(PKG_NAME)
OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
$(OBJECT) :
@$(PREBUILD)
- @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP)/squashfs-tools && make $(PARALLELISMFLAGS)
- cd $(DIR_APP)/squashfs-tools && install -m 755 mksquashfs /usr/sbin
- cd $(DIR_APP)/squashfs-tools && install -m 755 unsquashfs /usr/sbin
+ @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
+ cd $(DIR_APP) && make $(PARALLELISMFLAGS)
+ cd $(DIR_APP) && install -m 755 mksquashfs /usr/sbin
+ cd $(DIR_APP) && install -m 755 unsquashfs /usr/sbin
@rm -rf $(DIR_APP)
@$(POSTBUILD)