r498 - x86/trunk/packages/imlib2

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Tue Aug 2 12:09:35 PDT 2005


Author: jhuntwork
Date: 2005-08-02 13:09:34 -0600 (Tue, 02 Aug 2005)
New Revision: 498

Modified:
   x86/trunk/packages/imlib2/Makefile
Log:
Updated imlib2 Makefile

Modified: x86/trunk/packages/imlib2/Makefile
===================================================================
--- x86/trunk/packages/imlib2/Makefile	2005-08-02 18:39:38 UTC (rev 497)
+++ x86/trunk/packages/imlib2/Makefile	2005-08-02 19:09:34 UTC (rev 498)
@@ -1,30 +1,58 @@
 # ImLib2 Makefile
+#==============================================================================
 
-# Package versions
 NM= imlib2
-VRS= 1.1.2
+VRS= 1.2.1
 DIR= $(NM)-$(VRS)
+
 FILE= $(DIR).tar.gz
-URL= http://easynews.dl.sourceforge.net/sourceforge/enlightenment/$(FILE)
+URL-$(FILE)= $(HTTPBLFS)/I-K/$(FILE)
+SHA-$(FILE)= 3786f0a8ad1f0b419faa997bcb75b13f2f792e83
 
-#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 [ ! -d /usr/share/doc/$(DIR) ] ; then unpack $(FILE) && cd $(DIR) && \
-	 ./configure --prefix=/usr && \
-	 make -j3 && make install && \
-	 install -d -m755 /usr/share/doc/$(DIR) && \
-	 install -m644 doc/{*.gif,index.html} /usr/share/doc/$(DIR) ; 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
+	@install -d -m755 /usr/share/doc/$(DIR)
+	@install -m644 doc/{*.gif,index.html} /usr/share/doc/$(DIR)
+#
+#==Status Messages===========================================
+#
+	@$(OK)
+
 clean:
 	@-rm -rf $(DIR)
+
+.PHONY: clean chroot compile-stage2




More information about the livecd mailing list