r488 - x86/trunk/packages/fonts-dejavu

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Tue Aug 2 04:10:39 PDT 2005


Author: jhuntwork
Date: 2005-08-02 05:10:39 -0600 (Tue, 02 Aug 2005)
New Revision: 488

Modified:
   x86/trunk/packages/fonts-dejavu/Makefile
Log:
Updated fonts-dejavu Makefile

Modified: x86/trunk/packages/fonts-dejavu/Makefile
===================================================================
--- x86/trunk/packages/fonts-dejavu/Makefile	2005-08-02 11:03:31 UTC (rev 487)
+++ x86/trunk/packages/fonts-dejavu/Makefile	2005-08-02 11:10:39 UTC (rev 488)
@@ -1,29 +1,39 @@
 # DejaVu fonts Makefile
+#==============================================================================
 
-# Package versions
 NM= dejavu-ttf
 VRS= 1.9
 DIR= $(NM)-$(VRS)
-FILE= $(DIR).tar.gz
-URL= http://heanet.dl.sourceforge.net/sourceforge/dejavu/$(FILE)
 LOCATION= /usr/X11R6/lib/X11/fonts/TTF
 
-#RULES
+FILE= $(DIR).tar.gz
+URL-$(FILE)= http://heanet.dl.sourceforge.net/sourceforge/dejavu/$(FILE)
+SHA-$(FILE)= 85019c9fb5fb54282dce12d47ad7f6128aaed36a
 
-.PHONY: clean chroot stage2
+# Targets
+# =============================================================================
 
+include $(ROOT)/scripts/functions
+
 chroot:
-	@chroot "$(MP)" $(chenv-blfs) 'cd $(ROOT) && make ch-fonts-dejavu $(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 $(LOCATION)/DejaVuSansMono-Roman.ttf ] ; then \
-	 unpack $(FILE) && \
-	 cp $(DIR)/*.ttf $(LOCATION) ; fi
-	@make clean
+stage2: Makefile $(FILE) 
+	@$(std_build)
 
+compile-stage2:
+	@$(call echo_message, Installing)
+#==============================================================================
+# Install commands below \/
+#==============================================================================
+	@cp -v ./*.ttf $(LOCATION) >../$(DIR)-$@.log 2>&1
+#
+#==Status Messages===========================================
+#
+	@$(OK)
+
 clean:
 	@-rm -rf $(DIR)
+
+.PHONY: clean chroot compile-stage2




More information about the livecd mailing list