tsocks/tsocks.spec

changeset 794
07be25b95aca
parent 793
07d23947ec91
equal deleted inserted replaced
0:47bc3777a0bc 1:07bef9d03ad7
35 Distribution: OpenPKG Community 35 Distribution: OpenPKG Community
36 Class: PLUS 36 Class: PLUS
37 Group: Network 37 Group: Network
38 License: LGPL 38 License: LGPL
39 Version: %{V_opkg} 39 Version: %{V_opkg}
40 Release: 20080101 40 Release: 20140800
41 41
42 # list of sources 42 # list of sources
43 Source0: http://switch.dl.sourceforge.net/tsocks/tsocks-%{V_dist}.tar.gz 43 Source0: http://switch.dl.sourceforge.net/tsocks/tsocks-%{V_dist}.tar.gz
44 Source1: tsocks.conf 44 Source1: tsocks.conf
45 Patch0: tsocks.patch 45 Patch0: tsocks.patch
71 %{l_shtool} subst \ 71 %{l_shtool} subst \
72 -e 's;/usr/lib/libtsocks;%{l_prefix}/lib/tsocks/libtsocks;g' \ 72 -e 's;/usr/lib/libtsocks;%{l_prefix}/lib/tsocks/libtsocks;g' \
73 tsocks 73 tsocks
74 74
75 %build 75 %build
76 if [ ! -f /lib/libdl.so ] && [ ! -f /usr/lib/libdl.so ]; then 76 if [ ! -f /lib*/libdl.so ] && [ ! -f /usr/lib*/libdl.so ]; then
77 %{l_shtool} subst -e 's;-ldl;-lc;' configure 77 %{l_shtool} subst -e 's;-ldl;-lc;' configure
78 fi 78 fi
79 CC="%{l_cc}" \ 79 CC="%{l_cc}" \
80 CFLAGS="%{l_cflags -O}" \ 80 CFLAGS="%{l_cflags -O}" \
81 CPPFLAGS="%{l_cppflags}" \ 81 CPPFLAGS="%{l_cppflags}" \

mercurial