X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=blobdiff_plain;f=lfs%2Fbootsplash;h=b8e3470a09d1d558f007ba3b34d1c7613b2525d0;hp=17fd83f524f14ccb2a9ffb8dc0b982d503ac696e;hb=bf7c473f7b0b0231854ed00e633322b25c5a247b;hpb=a7b1824c6c543afe1884dbb62e80ba219bc90fd1 diff --git a/lfs/bootsplash b/lfs/bootsplash index 17fd83f524..b8e3470a09 100644 --- a/lfs/bootsplash +++ b/lfs/bootsplash @@ -26,13 +26,17 @@ include Config -VER = 3.0.7 +VER = 3.2 THISAPP = bootsplash-$(VER) DL_FILE = $(THISAPP).tar.bz2 DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) -TARGET = $(DIR_INFO)/$(THISAPP) +ifeq "$(LFS_PASS)" "install" + TARGET = $(DIR_INFO)/$(THISAPP)-install +else + TARGET = $(DIR_INFO)/$(THISAPP) +endif ############################################################################### # Top-level Rules @@ -42,7 +46,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = d7c7cdab692fb2edc5cf5ebb554f20a1 +$(DL_FILE)_MD5 = b74c104372fd182d0442b3ed63210e29 install : $(TARGET) @@ -72,11 +76,20 @@ $(subst %,%_MD5,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE) - cd $(DIR_APP)/Utilities && patch -Np0 < /usr/src/src/patches/bootsplash-3.0.7-include-fix.patch + cd $(DIR_APP) && patch -Np1 < /usr/src/src/patches/bootsplash-3.2_makefile.patch cd $(DIR_APP)/Utilities && make - cd $(DIR_APP)/Utilities && cp -f splash /sbin - -mkdir -p /etc/bootsplash/themes/current - cd $(DIR_APP) && cp -Rf $(DIR_CONF)/bootsplash/* /etc/bootsplash/themes/current - -find /etc/bootsplash/themes/current -name .svn -exec rm -rf {} \; +ifeq "$(LFS_PASS)" "install" + cd $(DIR_APP)/Utilities && cp -f splash fbresolution fbmngplay fbtruetype \ + /install/initrd/sbin + cd $(DIR_APP)/Scripts && cp -f bootanim /install/initrd/sbin + cd $(DIR_APP)/Scripts && chmod +x /install/initrd/sbin/bootanim +else + cd $(DIR_APP)/Utilities && cp -f splash fbresolution fbmngplay fbtruetype /sbin + cd $(DIR_APP)/Scripts && cp -f bootanim /sbin + cd $(DIR_APP)/Scripts && chmod +x /sbin/bootanim + -mkdir -p /boot/splash + cd $(DIR_APP) && cp -Rf $(DIR_CONF)/bootsplash/* /boot/splash + -find /boot/splash -name .svn -exec rm -rf {} \; +endif @rm -rf $(DIR_APP) @$(POSTBUILD)