- @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
-# cd $(DIR_APP) && sed -i "s/bbox.dev$/x11.dev/" Makefile.in
- cd $(DIR_APP) && ./configure --prefix=/usr --enable-threads --without-omni
- cd $(DIR_APP) && make
+ @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
+ cd $(DIR_APP) && rm -rf expat freetype icclib jasper jpeg jpegxr \
+ lcms lcms2 libpng openjpeg zlib cups/libs
+ cd $(DIR_APP) && \
+ ./configure \
+ --prefix=/usr \
+ --with-system-libtiff
+
+ cd $(DIR_APP) && make $(MAKETUNING)