r501 - in x86/trunk: . packages/libtiff

justin at linuxfromscratch.org justin at linuxfromscratch.org
Tue Aug 2 12:42:35 PDT 2005


Author: justin
Date: 2005-08-02 13:42:34 -0600 (Tue, 02 Aug 2005)
New Revision: 501

Modified:
   x86/trunk/packages/libtiff/Makefile
   x86/trunk/todo-list
Log:
Updated libtiff Makefile.

Modified: x86/trunk/packages/libtiff/Makefile
===================================================================
--- x86/trunk/packages/libtiff/Makefile	2005-08-02 19:28:32 UTC (rev 500)
+++ x86/trunk/packages/libtiff/Makefile	2005-08-02 19:42:34 UTC (rev 501)
@@ -1,29 +1,57 @@
 # libtiff Makefile
+#==============================================================================
 
 # Package versions
 NM= tiff
-VRS= 3.7.2
+VRS= 3.7.3
 DIR= $(NM)-$(VRS)
-FILE= $(DIR).tar.gz
-URL= http://libtiff.maptools.org/dl/$(FILE)
 
+FILE= $(DIR).tar.bz2
+URL-$(FILE)= $(HTTPBLFS)/T-V/$(FILE)
+SHA-$(FILE)= bb20753e990441d4a6da5d83ebf65c26f001be2c
 
-#RULES
+# Targets
+# =============================================================================
 
-.PHONY: clean chroot stage2
+include $(ROOT)/scripts/functions
 
 chroot:
-	@chroot "$(MP)" $(chenv-blfs) 'cd $(ROOT) && make ch-lib$(NM) $(chbash-post-bash)'
+	@chroot "$(MP)" $(chenv-blfs) \
+	'cd $(ROOT) && make ch-lib$(NM) $(chbash-post-bash)'
 
-stage2:
-	@echo ""
-	@echo "=====> Building $(NM) in chroot"
-	@echo ""
-	@if [ ! -f $(FILE) ] ; then $(WGET) $(URL) ; fi
-	@if [ ! -f /usr/lib/libtiff.so.3 ] ; then unpack $(FILE) && cd $(DIR) && \
-	 ./configure --prefix=/usr && \
-	 make -j3 && make install ; fi
-	@make clean
+stage2: Makefile $(FILE)
+	@$(std_build)
 
+compile-stage2:
+	@$(call echo_message, Configuring)
+#==============================================================================
+# Configure commands below \/
+#==============================================================================
+	@./configure --prefix=/usr >../$(DIR)-$@.log 2>&1
+#
+#==Status Messages==========================================
+#
+	@$(OK)
+	@$(call echo_message, Making)
+#==============================================================================
+# Make commands below \/
+#==============================================================================
+	@make $(PM) >>../$(DIR)-$@.log 2>&1
+#
+#==Status Messages===========================================
+#
+	@$(OK)
+	@$(call echo_message, Installing)
+#==============================================================================
+# Install commands below \/
+#==============================================================================
+	@make install >>../$(DIR)-$@.log 2>&1
+#
+#==Status Messages===========================================
+#
+	@$(OK)
+
 clean:
 	@-rm -rf $(DIR)
+
+.PHONY: clean chroot compile-stage2

Modified: x86/trunk/todo-list
===================================================================
--- x86/trunk/todo-list	2005-08-02 19:28:32 UTC (rev 500)
+++ x86/trunk/todo-list	2005-08-02 19:42:34 UTC (rev 501)
@@ -11,7 +11,6 @@
 packages/libaal
 packages/libjpeg
 packages/libpng
-packages/libtiff
 packages/libungif
 packages/libxml2
 packages/libxslt




More information about the livecd mailing list