Author: justin Date: 2005-08-01 17:43:07 -0600 (Mon, 01 Aug 2005) New Revision: 473
Modified: x86/trunk/packages/xchat/Makefile Log: Updated xchat Makefile. Modified: x86/trunk/packages/xchat/Makefile =================================================================== --- x86/trunk/packages/xchat/Makefile 2005-08-01 23:17:43 UTC (rev 472) +++ x86/trunk/packages/xchat/Makefile 2005-08-01 23:43:07 UTC (rev 473) @@ -1,29 +1,57 @@ # xchat Makefile +#============================================================================== -# Package versions NM= xchat -VRS= 2.4.2 +VRS= 2.4.4 DIR= $(NM)-$(VRS) + FILE= $(DIR).tar.bz2 -URL= http://xchat.org/files/source/2.4/$(FILE) +URL-$(FILE)= http://xchat.org/files/source/2.4/$(FILE) +SHA-$(FILE)= fa048dfc24b922f0f1b7b5e95450f697ebe1d435 -#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 [ ! -f /usr/bin/xchat ] ; then unpack $(FILE) && cd $(DIR) && \ - ./configure --prefix=/usr && \ - make -j3 && make install ; fi +stage2: Makefile $(FILE) + @$(std_build) + +compile-stage2: + @$(call echo_message, Configuring) +#============================================================================== +# Configure commands below \/ +#============================================================================== + @./configure --prefix=/usr >../$(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 @cp -ra $(ROOT)/root/.xchat2 /root - @make clean +# +#==Status Messages=========================================== +# + @$(OK) clean: @-rm -rf $(DIR) + +.PHONY: compile-stage1 clean chroot compile-stage2 -- http://linuxfromscratch.org/mailman/listinfo/livecd FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
