Author: justin Date: 2005-08-01 01:27:09 -0600 (Mon, 01 Aug 2005) New Revision: 441
Modified: x86/trunk/packages/LVM2/Makefile Log: Updated LVM2 Makefile. Modified: x86/trunk/packages/LVM2/Makefile =================================================================== --- x86/trunk/packages/LVM2/Makefile 2005-08-01 06:53:40 UTC (rev 440) +++ x86/trunk/packages/LVM2/Makefile 2005-08-01 07:27:09 UTC (rev 441) @@ -1,29 +1,56 @@ # lvm2 Makefile +#============================================================================== -# Package versions NM= LVM2 VRS= 2.01.09 DIR= $(NM).$(VRS) + FILE= $(DIR).tgz -URL= ftp://sources.redhat.com/pub/lvm2/$(FILE) +URL-$(FILE)= ftp://sources.redhat.com/pub/lvm2/$(FILE) +SHA-$(FILE)= 8c0149e7f9bb8a785111b4d279be5a2bf9a44cd9 -#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/sbin/lvm ] ; then unpack $(FILE) && cd $(DIR) && \ - ./configure --prefix=/usr && \ - make -j3 && \ - make install ; fi - @make clean +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 +# +#==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
