Author: jhuntwork
Date: 2005-04-17 14:51:59 -0600 (Sun, 17 Apr 2005)
New Revision: 88

Added:
   trunk/packages/freefont/
   trunk/packages/freefont/Makefile
Log:
Added freefont package

Added: trunk/packages/freefont/Makefile
===================================================================
--- trunk/packages/freefont/Makefile    2005-04-17 02:09:48 UTC (rev 87)
+++ trunk/packages/freefont/Makefile    2005-04-17 20:51:59 UTC (rev 88)
@@ -0,0 +1,29 @@
+# FreeFont Makefile
+
+# Package versions
+NM= freefont
+VRS= ttf
+DIR= $(NM)-$(VRS)
+FILE= $(DIR).tar.gz
+URL= http://ftp.gnu.org/savannah/files/freefont/$(FILE)
+LOCATION= /usr/X11R6/lib/X11/fonts/TTF
+
+#RULES
+
+.PHONY: clean chroot stage2
+
+chroot:
+       @chroot "$(MP)" $(chenv3) 'cd $(ROOT) && make ch-$(NM) $(chbash2)'
+
+stage2:
+       @echo ""
+       @echo "=====> Building $(NM) in chroot"
+       @echo ""
+       @if [ ! -f $(FILE) ] ; then $(WGET) $(URL) ; fi
+       @if [ ! -f $(LOCATION)/FreeMono.ttf ] ; then mkdir $(DIR) && cd $(DIR) 
&& \
+        tar -xzvf ../$(FILE) && \
+        cp sfd/* $(LOCATION) ; fi
+       @make clean
+
+clean:
+       @-rm -rf $(DIR)

-- 
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to