Author: jhuntwork Date: 2005-08-01 09:45:39 -0600 (Mon, 01 Aug 2005) New Revision: 453
Modified: x86/trunk/packages/eject/Makefile Log: Updated eject Makefile Modified: x86/trunk/packages/eject/Makefile =================================================================== --- x86/trunk/packages/eject/Makefile 2005-08-01 14:29:40 UTC (rev 452) +++ x86/trunk/packages/eject/Makefile 2005-08-01 15:45:39 UTC (rev 453) @@ -1,30 +1,57 @@ # eject Makefile +#============================================================================== -# Package versions NM= eject VRS= 2.1.0 DIR= $(NM)-$(VRS) + FILE= $(DIR).tar.gz -URL= http://www.ibiblio.org/pub/Linux/utils/disk-management/$(FILE) +URL-$(FILE)= http://www.ibiblio.org/pub/Linux/utils/disk-management/$(FILE) +SHA-$(FILE)= 92059323f43093ab9f01690c97fb35f14eff4c53 -# RULES +# Targets +# ============================================================================= -.PHONY: stage1 clean stage2 chroot +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/eject ] ; then unpack $(FILE) && cd $(DIR) && \ - ./bootstrap && \ - ./configure --prefix=/usr && \ - make -j3 && make install ; fi - @make clean - -# Does what it says +stage2: Makefile $(FILE) $(PATCH1) + @$(sep_dir_build) # Simple function to create a separate build directory + +compile-stage2: + @$(call echo_message, Configuring) +#============================================================================== +# Configure commands below \/ +#============================================================================== + @./bootstrap >../$(DIR)[EMAIL PROTECTED] 2>&1 + @./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
