[package] update st2205tool to 1.4.3 (#5731)
[openwrt/svn-archive/archive.git] / libs / st2205tool / patches / 110-libst-makefile.patch
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 @@
4 all: libst2205.so
5
6 libst2205.so: $(OBJ) $(SRC) $(HEADERS)
7 - ar -rv libst2205.a $(OBJ)
8 - gcc -shared -Wl,-soname,libst2205.so.1 -o libst2205.so $(OBJ) $(LIBS)
9 + $(AR) -rv libst2205.a $(OBJ)
10 + $(GCC) -shared -Wl,-soname,libst2205.so.1 -o libst2205.so $(OBJ) $(LIBS)
11
12 clean:
13 rm -f $(OBJ) test *.a *.so
14
15 install: libst2205.so
16 - test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
17 - test -z "/usr/local/include" || /bin/mkdir -p "/usr/local/include"
18 - install libst2205.so /usr/local/lib
19 - install st2205.h /usr/local/include
20 - ldconfig
21 +# test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
22 +# test -z "/usr/local/include" || /bin/mkdir -p "/usr/local/include"
23 +# install libst2205.so /usr/local/lib
24 +# install st2205.h /usr/local/include
25 +# ldconfig