r502 - in x86/trunk: . packages/startup-notification

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Tue Aug 2 12:58:23 PDT 2005


Author: jhuntwork
Date: 2005-08-02 13:58:22 -0600 (Tue, 02 Aug 2005)
New Revision: 502

Modified:
   x86/trunk/packages/startup-notification/Makefile
   x86/trunk/todo-list
Log:
Updated startup-notification Makefile

Modified: x86/trunk/packages/startup-notification/Makefile
===================================================================
--- x86/trunk/packages/startup-notification/Makefile	2005-08-02 19:42:34 UTC (rev 501)
+++ x86/trunk/packages/startup-notification/Makefile	2005-08-02 19:58:22 UTC (rev 502)
@@ -1,28 +1,56 @@
 # startup-notification Makefile
+#==============================================================================
 
-# Package versions
 NM= startup-notification
 VRS= 0.8
 DIR= $(NM)-$(VRS)
-FILE= $(DIR).tar.gz
-URL= http://www.freedesktop.org/software/startup-notification/releases/$(FILE)
 
-#RULES
+FILE= $(DIR).tar.bz2
+URL-$(FILE)= $(HTTPBLFS)/Q-S/$(FILE)
+SHA-$(FILE)= d2b5698b6209b5172d17222a3117db6447d7cdf1
 
-.PHONY: clean chroot stage2
+# Targets
+# =============================================================================
 
+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/libstartup-notification-1.so ] ; 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:42:34 UTC (rev 501)
+++ x86/trunk/todo-list	2005-08-02 19:58:22 UTC (rev 502)
@@ -42,4 +42,3 @@
 packages/slang
 packages/slrn
 packages/squashfs
-packages/startup-notification




More information about the livecd mailing list