Author: justin Date: 2005-08-01 02:37:29 -0600 (Mon, 01 Aug 2005) New Revision: 446
Modified: x86/trunk/packages/dialog/Makefile Log: Updated dialog Makefile. Modified: x86/trunk/packages/dialog/Makefile =================================================================== --- x86/trunk/packages/dialog/Makefile 2005-08-01 08:13:58 UTC (rev 445) +++ x86/trunk/packages/dialog/Makefile 2005-08-01 08:37:29 UTC (rev 446) @@ -1,27 +1,54 @@ # Dialog Makefile +#============================================================================== -# Package versions NM= dialog VRS= 1.0-20050306 DIR= $(NM)-$(VRS) + FILE= $(DIR).tgz -URL= ftp://invisible-island.net/dialog/$(FILE) +URL-$(FILE)= ftp://invisible-island.net/dialog/$(FILE) +SHA-$(FILE)= c99418b18e0dae9d446b6392bc4804b11d600e3a -#RULES +# Targets +# ============================================================================= -.PHONY: clean chroot stage2 - 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/bin/dialog ] ; then unpack $(FILE) && cd $(DIR) && \ - ./configure --prefix=/usr --enable-nls && make && make install ; fi - @make clean +stage2: Makefile $(FILE) + @$(std_build) +compile-stage2: + @$(call echo_message, Configuring) +#============================================================================== +# Configure commands below \/ +#============================================================================== + ./configure --prefix=/usr --enable-nls >../$(DIR)[EMAIL PROTECTED] 2>&1 +# +#==Status Messages========================================== +# + @$(OK) + @$(call echo_message, Making) +#============================================================================== +# Make commands below \/ +#============================================================================== + @make $(PM) >>../$(DIR)[EMAIL PROTECTED] 2>&1 +# +#==Status Messages=========================================== +# + @$(OK) + @$(call echo_message, Installing) +#============================================================================== +# Install commands below \/ +#============================================================================== + @make install >>../$(DIR)[EMAIL PROTECTED] 2>&1 +# +#==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
