Changeset 15812


Ignore:
Timestamp:
2009-05-13T09:23:33+02:00 (9 years ago)
Author:
mirko
Message:

cleanup Makefile, extract image-data, add init-script, replace generic image with a smaller one (320x320)

Location:
packages/utils/psplash
Files:
4 added
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • packages/utils/psplash/Makefile

    r15244 r15812  
    1616PKG_MD5SUM:=7649b7e0fac573eca2048a2a267e242b 
    1717 
     18PKG_INSTALL:=1 
     19 
     20IMAGE_FILE:=generic 
     21 
    1822include $(INCLUDE_DIR)/package.mk 
    1923 
     
    3034endef 
    3135 
    32  
    33 define Build/Compile 
    34         $(MAKE) -C $(PKG_BUILD_DIR) \ 
    35                 DESTDIR="$(PKG_INSTALL_DIR)" \ 
    36                 all install 
     36define Build/Configure 
     37        $(CP) \ 
     38                ./files/image_$(IMAGE_FILE).h \ 
     39                $(PKG_BUILD_DIR)/psplash-owrt-img.h 
     40        $(call Build/Configure/Default) 
    3741endef 
    3842 
    3943define Package/psplash/install 
    40         $(INSTALL_DIR) $(1)/bin 
     44        $(INSTALL_DIR) $(1)/bin $(1)/etc/init.d 
    4145        $(CP) \ 
    42                 $(PKG_INSTALL_DIR)/usr/bin/psplash \ 
    43                 $(PKG_INSTALL_DIR)/usr/bin/psplash-write \ 
     46                $(PKG_INSTALL_DIR)/usr/bin/psplash* \ 
    4447                $(1)/bin/ 
     48        $(INSTALL_BIN) \ 
     49                ./files/init \ 
     50                $(1)/etc/init.d/psplash 
    4551endef 
    4652 
    47  
    4853$(eval $(call BuildPackage,psplash)) 
  • packages/utils/psplash/patches/001-hide-msgfield-and-progressbar.patch

    r15789 r15812  
    1 diff -ruN psplash/psplash.c psplash.x/psplash.c 
    2 --- psplash/psplash.c   2009-05-11 23:55:59.000000000 +0200 
    3 +++ psplash.x/psplash.c 2009-05-11 23:38:22.000000000 +0200 
     1diff -ruN psplash.x/psplash.c psplash/psplash.c 
     2--- psplash.x/psplash.c 2009-05-12 10:11:25.000000000 +0200 
     3+++ psplash/psplash.c   2009-05-12 10:24:09.000000000 +0200 
    44@@ -276,17 +276,17 @@ 
    55                         OWRT_IMG_RLE_PIXEL_DATA); 
Note: See TracChangeset for help on using the changeset viewer.