Ticket #5731: st2205tool.patch

File st2205tool.patch, 2.0 KB (added by anonymous, 7 years ago)
  • st2205tool

    diff -Nuar st2205tool.orig/Makefile st2205tool/Makefile
    old new  
    88include $(TOPDIR)/rules.mk 
    99 
    1010PKG_NAME:=st2205tool 
    11 PKG_VERSION:=1.4pre1 
     11PKG_VERSION:=1.4.3 
    1212PKG_RELEASE:=1 
    1313 
    14 PKG_SOURCE:=st2205tool-v$(PKG_VERSION).tgz 
    15 PKG_SOURCE_URL:=http://spritesmods.com/picframe/ 
    16 PKG_MD5SUM:=bf602227bce9c4365e5ae5e9b383d8d9 
     14PKG_SOURCE:=st2205tool-$(PKG_VERSION).tar.gz 
     15PKG_SOURCE_URL:=http://www.neophob.com/files/ 
     16PKG_MD5SUM:=c87f05a5f692e869d2d050aa3d4fd6c5 
    1717 
    1818PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) 
    1919 
     
    5050 
    5151define Package/st2205tool/install 
    5252        $(INSTALL_DIR) $(1)/usr/sbin 
    53         $(INSTALL_BIN) $(PKG_BUILD_DIR)/{bgrep,phack,splice,hackfw.sh} $(1)/usr/sbin/ 
    5453        $(INSTALL_BIN) $(PKG_BUILD_DIR)/setpic/setpic $(1)/usr/sbin/ 
    5554        $(INSTALL_DIR) $(1)/usr/lib 
    5655        $(CP) $(PKG_BUILD_DIR)/libst2205/libst2205.so* $(1)/usr/lib/ 
  • patches/110-libst-makefile.patch

    diff -Nuar st2205tool.orig/patches/110-libst-makefile.patch st2205tool/patches/110-libst-makefile.patch
    old new  
    1 --- st2205tool/libst2205/Makefile.orig  2008-01-20 20:22:32.000000000 +0100 
    2 +++ st2205tool/libst2205/Makefile       2008-04-21 07:36:56.000000000 +0200 
    3 @@ -6,15 +6,15 @@ 
     1--- st2205tool/libst2205/Makefile.orig  2009-08-19 17:05:54.000000000 +0200 
     2+++ st2205tool/libst2205/Makefile       2009-08-19 17:06:27.000000000 +0200 
     3@@ -7,15 +7,15 @@ 
    44 all:   libst2205.so 
    55  
    6  libst2205.so:  $(OBJ) $(SRC)  
     6 libst2205.so:  $(OBJ) $(SRC) $(HEADERS)  
    77-       ar -rv libst2205.a $(OBJ)  
    88-       gcc -shared -Wl,-soname,libst2205.so.1 -o libst2205.so $(OBJ) $(LIBS) 
    99+       $(AR) -rv libst2205.a $(OBJ)  
    10 +       $(GCC) -shared -Wl,-soname,libst2205.so -o libst2205.so $(OBJ) $(LIBS) 
     10+       $(GCC) -shared -Wl,-soname,libst2205.so.1 -o libst2205.so $(OBJ) $(LIBS) 
    1111  
    1212 clean:  
    1313        rm -f $(OBJ) test *.a *.so