Author: jhuntwork Date: 2005-08-02 12:39:38 -0600 (Tue, 02 Aug 2005) New Revision: 497
Modified: x86/trunk/packages/gtk2/Makefile x86/trunk/packages/html_tidy/Makefile Log: Updated html_tidy Makefile and aesthetic fix to gtk2 Modified: x86/trunk/packages/gtk2/Makefile =================================================================== --- x86/trunk/packages/gtk2/Makefile 2005-08-02 18:10:29 UTC (rev 496) +++ x86/trunk/packages/gtk2/Makefile 2005-08-02 18:39:38 UTC (rev 497) @@ -1,28 +1,54 @@ # Gtk+ Makefile +#============================================================================== -# Package versions NM= gtk+ -VRS= 2.6.7 +VRS= 2.6.9 DIR= $(NM)-$(VRS) + FILE= $(DIR).tar.bz2 -URL= ftp://ftp.gtk.org/pub/gtk/v2.6/$(FILE) +URL-$(FILE)= ftp://ftp.gtk.org/pub/gtk/v2.6/$(FILE) +SHA-$(FILE)= da69e65beac8e88c4203f634ec488f8d2324f63d -#RULES +# Targets +#============================================================================== -.PHONY: clean chroot stage2 - chroot: - @chroot "$(MP)" $(chenv-blfs) 'cd $(ROOT) && make ch-gtk2 $(chbash-post-bash)' + @chroot "$(MP)" $(chenv-blfs) \ + 'cd $(ROOT) && make ch-gtk2 $(chbash-post-bash)' -stage2: - @echo "" - @echo "=====> Building $(NM) in chroot" - @echo "" - @if [ ! -f $(FILE) ] ; then $(WGET) $(URL) ; fi - @if [ ! -d /usr/lib/gtk-2.0 ] ; then unpack $(FILE) && cd $(DIR) && \ - ./configure --prefix=/usr --sysconfdir=/etc && \ - make -j3 && make install ; fi - @make clean +stage2: Makefile $(FILE) + @$(std_build) +compile-stage2: + @$(call echo_message, Configuring) +#============================================================================== +# Configure commands below \/ +#============================================================================== + @./configure --prefix=/usr --sysconfdir=/etc >../$(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 Modified: x86/trunk/packages/html_tidy/Makefile =================================================================== --- x86/trunk/packages/html_tidy/Makefile 2005-08-02 18:10:29 UTC (rev 496) +++ x86/trunk/packages/html_tidy/Makefile 2005-08-02 18:39:38 UTC (rev 497) @@ -1,38 +1,65 @@ # HTML Tidy Makefile +#============================================================================== -# Package versions NM= tidy VRS= DIR= $(NM) + FILE= $(NM)_src.tgz +URL-$(FILE)= http://tidy.sourceforge.net/src/$(FILE) +SHA-$(FILE)= 4b39260051743223e0e899f72284bb4f2cb695f0 + FILE1= $(NM)_docs.tgz -URL= http://tidy.sourceforge.net/src/$(FILE) -URL1= http://tidy.sourceforge.net/docs/$(FILE1) +URL-$(FILE1)= http://tidy.sourceforge.net/docs/$(FILE1) +SHA-$(FILE1)= b243d7910ce2fe57a8df27ff8f775e6d397c732d +# Targets +# ============================================================================= +include $(ROOT)/scripts/functions -#RULES +chroot: + @chroot "$(MP)" $(chenv-blfs) \ + 'cd $(ROOT) && make ch-html_$(NM) $(chbash-post-bash)' -.PHONY: clean chroot stage2 +stage2: Makefile $(FILE) $(FILE1) + @unpack $(FILE1) + @$(std_build) -chroot: - @chroot "$(MP)" $(chenv-blfs) 'cd $(ROOT) && make ch-html_$(NM) $(chbash-post-bash)' +compile-stage2: + @$(call echo_message, Configuring) +#============================================================================== +# Configure commands below \/ +#============================================================================== + @sh build/gnuauto/setup.sh >../$(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 + @install -d -m755 /usr/share/doc/tidy + @cp -R htmldoc /usr/share/doc/tidy + @chown -R root:root /usr/share/doc/tidy +# +#==Status Messages=========================================== +# + @$(OK) -stage2: - @echo "" - @echo "=====> Building $(NM) in chroot" - @echo "" - @if [ ! -f $(FILE) ] ; then $(WGET) $(URL) ; fi - @if [ ! -f $(FILE1) ] ; then $(WGET) $(URL1) ; fi - @if [ ! -f /usr/bin/tidy ] ; then unpack $(FILE) && \ - unpack $(FILE1) && cd $(DIR) && \ - sh build/gnuauto/setup.sh && \ - ./configure --prefix=/usr && \ - make -j3 && make install && \ - install -d -m755 /usr/share/doc/tidy && \ - cp -R htmldoc /usr/share/doc/tidy && \ - chown -R root:root /usr/share/doc/tidy ; fi - @make clean - 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
