r432 - x86/trunk/packages/atk

justin at linuxfromscratch.org justin at linuxfromscratch.org
Sun Jul 31 21:36:11 PDT 2005


Author: justin
Date: 2005-07-31 22:35:56 -0600 (Sun, 31 Jul 2005)
New Revision: 432

Modified:
   x86/trunk/packages/atk/Makefile
Log:
Update atk makefile.

Modified: x86/trunk/packages/atk/Makefile
===================================================================
--- x86/trunk/packages/atk/Makefile	2005-07-31 21:51:55 UTC (rev 431)
+++ x86/trunk/packages/atk/Makefile	2005-08-01 04:35:56 UTC (rev 432)
@@ -1,28 +1,56 @@
 # ATK Makefile
+#==============================================================================
 
-# Package versions
 NM= atk
 VRS= 1.9.1
 DIR= $(NM)-$(VRS)
+
 FILE= $(DIR).tar.bz2
-URL= http://ftp.gnome.org/pub/GNOME/sources/atk/1.9/$(FILE)
+URL-$(FILE)= $(HTTPBLFS)/A-C/$(FILE)
+SHA-$(FILE)= ae8e2410f0fd5731a3b8fc902f0865f42103ffb9
 
-#RULES
+# Targets
+#==============================================================================
 
-.PHONY: clean chroot stage2
+include $(ROOT)/scripts/functions
 
 chroot:
-	@chroot "$(MP)" $(chenv-blfs) 'cd $(ROOT) && make ch-$(NM) $(chbash-post-bash)'
+	@chroot "$(MP)" $(chenv-blfs) \
+	'cd $(ROOT) && make ch-$(NM) $(chbash-post-bash)'
 
-stage2:
-	@echo ""
-	@echo "=====> Building $(NM) in chroot"
-	@echo ""
-	@if [ ! -f $(FILE) ] ; then $(WGET) $(URL) ; fi
-	@if [ ! -f /usr/lib/libatk-1.0.so.0 ] ; 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




More information about the livecd mailing list