Author: thomasp
Date: 2005-08-01 12:09:03 -0600 (Mon, 01 Aug 2005)
New Revision: 460
Modified:
x86/trunk/packages/groff/Makefile
Log:
Updated groff Makefile
Modified: x86/trunk/packages/groff/Makefile
===================================================================
--- x86/trunk/packages/groff/Makefile 2005-08-01 15:59:25 UTC (rev 459)
+++ x86/trunk/packages/groff/Makefile 2005-08-01 18:09:03 UTC (rev 460)
@@ -1,30 +1,59 @@
# Groff Makefile
+#==============================================================================
-# Package versions
NM= groff
VRS= 1.19.1
DIR= $(NM)-$(VRS)
-FILE= $(DIR).tar.bz2
-URL= $(HTTP)/$(NM)/$(FILE)
-# RULES
+FILE= $(DIR).tar.bz2 #
+URL-$(FILE)= $(HTTP)/$(NM)/$(FILE)
+SHA-$(FILE)= d02bf99ff272ebcedc61961323a5279e77d8a191
-.PHONY: clean chroot stage2
+# Targets
+# =============================================================================
+include $(ROOT)/scripts/functions
+
chroot:
- @chroot "$(MP)" $(chenv-pre-bash) 'cd $(ROOT) && make ch-$(NM)
$(chbash-pre-bash)'
+ @chroot "$(MP)" $(chenv-pre-bash) \
+ 'cd $(ROOT) && make ch-$(NM) $(chbash-pre-bash)'
-stage2:
- @echo ""
- @echo "======> Building $(NM) in chroot"
- @echo ""
- @if [ ! -f $(SRC)/$(FILE) ] ; then $(WGET) $(URL) && \
- mv $(FILE) $(SRC) ; fi
- @if [ ! -f /usr/bin/gtbl ] ; then unpack $(SRC)/$(FILE) && cd $(DIR) &&
\
- PAGE=$(pagesize) ./configure --prefix=/usr && make && make install && \
- ln -s soelim /usr/bin/zsoelim && ln -s eqn /usr/bin/geqn && \
- ln -s tbl /usr/bin/gtbl ; fi
- @make clean
+stage2: Makefile $(FILE)
+ @$(std_build)
+compile-stage2:
+ @$(call echo_message, Configuring)
+#==============================================================================
+# Configure commands below \/
+#==============================================================================
+ @PAGE=$(pagesize) ./configure --prefix=/usr >../$(DIR)[EMAIL PROTECTED]
2>&1
+#
+#==Status Messages==========================================
+#
+ @$(OK)
+ @$(call echo_message, Making)
+#==============================================================================
+# Make commands below \/
+#==============================================================================
+ @make >>../$(DIR)[EMAIL PROTECTED] 2>&1
+#
+#==Status Messages===========================================
+#
+ @$(OK)
+ @$(call echo_message, Installing)
+#==============================================================================
+# Install commands below \/
+#==============================================================================
+ @make install >>../$(DIR)[EMAIL PROTECTED] 2>&1
+ @ln -s soelim /usr/bin/zsoelim
+ @ln -s eqn /usr/bin/geqn
+ @ln -s tbl /usr/bin/gtbl
+#
+#==Status Messages===========================================
+#
+ @$(OK)
+
clean:
@-rm -rf $(DIR)
+
+.PHONY: clean chroot compile-stage2
--
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page