svn-gvsig-desktop / tags / v1_0_2_Build_905 / binaries / linux / build.xml @ 10767
History | View | Annotate | Download (4.84 KB)
1 | 9203 | cesar | <project name="binaries linux" default="main" basedir="."> |
---|---|---|---|
2 | <description>
|
||
3 | Reorganiza el directorio binaries/linux, para que pueda usarse directamente por gvSIG. |
||
4 | </description>
|
||
5 | |||
6 | <property name="targetDir" location="." /> |
||
7 | |||
8 | <target name="main" depends="ecw, gdal, mrsid" /> |
||
9 | |||
10 | <target name="ecw"> |
||
11 | <copy todir="${targetDir}"> |
||
12 | <fileset dir="raster/ecw" includes="*.so*" /> |
||
13 | </copy>
|
||
14 | 9505 | cesar | <!-- necesitamos borrar los links antes de crearlos, porque failonerror=false no
|
15 | funciona correctamente -->
|
||
16 | <delete file="${targetDir}/libjecwcompress.so"/> |
||
17 | 9203 | cesar | <symlink
|
18 | action="single" |
||
19 | resource="libjecwcompress.so.0.1.0" |
||
20 | link="${targetDir}/libjecwcompress.so" |
||
21 | failonerror="false" /> |
||
22 | 9505 | cesar | <delete file="${targetDir}/libjecwcompress.so.0" /> |
23 | 9203 | cesar | <symlink
|
24 | action="single" |
||
25 | resource="libjecwcompress.so.0.1.0" |
||
26 | link="${targetDir}/libjecwcompress.so.0" |
||
27 | failonerror="false" /> |
||
28 | 9505 | cesar | <delete file="${targetDir}/libjecw.so" /> |
29 | 9203 | cesar | <symlink
|
30 | action="single" |
||
31 | resource="libjecw.so.0.0.1" |
||
32 | link="${targetDir}/libjecw.so" |
||
33 | failonerror="false" /> |
||
34 | 9505 | cesar | <delete file="${targetDir}/libjecw.so.0" /> |
35 | 9203 | cesar | <symlink
|
36 | action="single" |
||
37 | resource="libjecw.so.0.0.1" |
||
38 | link="${targetDir}/libjecw.so.0" |
||
39 | failonerror="false" /> |
||
40 | 9505 | cesar | <delete file="${targetDir}/libNCSCNet.so" /> |
41 | 9203 | cesar | <symlink
|
42 | action="single" |
||
43 | 10432 | jmvivo | resource="libNCSCnet.so.0.0.0" |
44 | link="${targetDir}/libNCScnet.so" |
||
45 | failonerror="false" /> |
||
46 | <symlink
|
||
47 | action="single" |
||
48 | resource="libNCSCnet.so.0.0.0" |
||
49 | 10440 | jmvivo | link="${targetDir}/libNCSCnet.so" |
50 | failonerror="false" /> |
||
51 | <symlink
|
||
52 | action="single" |
||
53 | resource="libNCSCnet.so.0.0.0" |
||
54 | 9203 | cesar | link="${targetDir}/libNCSCNet.so" |
55 | failonerror="false" /> |
||
56 | 10432 | jmvivo | <symlink
|
57 | action="single" |
||
58 | resource="libNCSEcw.so.0.0.0" |
||
59 | link="${targetDir}/libNCSEcw.so" |
||
60 | failonerror="false" /> |
||
61 | <symlink
|
||
62 | action="single" |
||
63 | resource="libNCSEcwC.so.0.0.0" |
||
64 | link="${targetDir}/libNCSEcwC.so" |
||
65 | failonerror="false" /> |
||
66 | <symlink
|
||
67 | action="single" |
||
68 | resource="libNCSUtil.so.0.0.0" |
||
69 | link="${targetDir}/libNCSUtil.so" |
||
70 | failonerror="false" /> |
||
71 | |||
72 | 9203 | cesar | </target>
|
73 | |||
74 | <target name="gdal"> |
||
75 | <copy todir="${targetDir}"> |
||
76 | <fileset dir="raster/gdal" |
||
77 | 9506 | cesar | includes="libcrypto.so.0.9.7 libgdal.so.1.10.0 libjasper-1.701.so.1.0.0 libjgdal.so.0.6.0 libodbc.so.1 libpng.so.3 libpq.so.3 libssl.so.0.9.7"/> |
78 | 9203 | cesar | </copy>
|
79 | 9505 | cesar | <delete file="${targetDir}/libcrypto.so" /> |
80 | 9203 | cesar | <symlink
|
81 | action="single" |
||
82 | resource="libcrypto.so.0.9.7" |
||
83 | link="${targetDir}/libcrypto.so" |
||
84 | failonerror="false" /> |
||
85 | 9505 | cesar | <delete file="${targetDir}/libgdal.so" /> |
86 | 9203 | cesar | <symlink
|
87 | action="single" |
||
88 | resource="libgdal.so.1.10.0" |
||
89 | link="${targetDir}/libgdal.so" |
||
90 | failonerror="false" /> |
||
91 | 9505 | cesar | <delete file="${targetDir}/libgdal.so.1" /> |
92 | 9203 | cesar | <symlink
|
93 | action="single" |
||
94 | resource="libgdal.so.1.10.0" |
||
95 | link="${targetDir}/libgdal.so.1" |
||
96 | failonerror="false" /> |
||
97 | 9505 | cesar | <delete file="${targetDir}/libjasper-1.701.so" /> |
98 | 9203 | cesar | <symlink
|
99 | action="single" |
||
100 | 9506 | cesar | resource="libjasper-1.701.so.1.0.0" |
101 | 9505 | cesar | link="${targetDir}/libjasper-1.701.so" |
102 | 9203 | cesar | failonerror="false" /> |
103 | 9506 | cesar | <delete file="${targetDir}/libjasper-1.701.so.1" /> |
104 | <symlink
|
||
105 | action="single" |
||
106 | resource="libjasper-1.701.so.1.0.0" |
||
107 | link="${targetDir}/libjasper-1.701.so.1" |
||
108 | failonerror="false" /> |
||
109 | 9505 | cesar | <delete file="${targetDir}/libjgdal.so" /> |
110 | 9203 | cesar | <symlink
|
111 | action="single" |
||
112 | resource="libjgdal.so.0.6.0" |
||
113 | link="${targetDir}/libjgdal.so" |
||
114 | failonerror="false" /> |
||
115 | 9505 | cesar | <delete file="${targetDir}/libjgdal.so.0" /> |
116 | 9203 | cesar | <symlink
|
117 | action="single" |
||
118 | resource="libjgdal.so.0.6.0" |
||
119 | link="${targetDir}/libjgdal.so.0" |
||
120 | failonerror="false" /> |
||
121 | 9505 | cesar | <delete file="${targetDir}/libodbc.so" /> |
122 | 9203 | cesar | <symlink
|
123 | action="single" |
||
124 | resource="libodbc.so.1" |
||
125 | link="${targetDir}/libodbc.so" |
||
126 | failonerror="false" /> |
||
127 | 9505 | cesar | <delete file="${targetDir}/libpng.so" /> |
128 | 9203 | cesar | <symlink
|
129 | action="single" |
||
130 | resource="libpng.so.3" |
||
131 | link="${targetDir}/libpng.so" |
||
132 | failonerror="false" /> |
||
133 | 9505 | cesar | <delete file="${targetDir}/libpq.so" /> |
134 | 9203 | cesar | <symlink
|
135 | action="single" |
||
136 | resource="libpq.so.3" |
||
137 | link="${targetDir}/libpq.so" |
||
138 | failonerror="false" /> |
||
139 | 9505 | cesar | <delete file="${targetDir}/libssl.so" /> |
140 | 9203 | cesar | <symlink
|
141 | action="single" |
||
142 | resource="libssl.so.0.9.7" |
||
143 | link="${targetDir}/libssl.so" |
||
144 | failonerror="false" /> |
||
145 | 9505 | cesar | <delete file="${targetDir}/libssl.so.0" /> |
146 | 9203 | cesar | <symlink
|
147 | action="single" |
||
148 | resource="libssl.so.0.9.7" |
||
149 | link="${targetDir}/libssl.so.0" |
||
150 | failonerror="false" /> |
||
151 | </target>
|
||
152 | |||
153 | <target name="mrsid"> |
||
154 | <copy todir="${targetDir}"> |
||
155 | <fileset dir="raster/mrsid" includes="libjmrsid.so.0.0.2" /> |
||
156 | </copy>
|
||
157 | 9505 | cesar | <delete file="${targetDir}/libjmrsid.so" /> |
158 | 9203 | cesar | <symlink
|
159 | action="single" |
||
160 | resource="libjmrsid.so.0.0.2" |
||
161 | link="${targetDir}/libjmrsid.so" |
||
162 | failonerror="false" /> |
||
163 | 9505 | cesar | <delete file="${targetDir}/libjmrsid.so.0" /> |
164 | 9203 | cesar | <symlink
|
165 | action="single" |
||
166 | resource="libjmrsid.so.0.0.2" |
||
167 | link="${targetDir}/libjmrsid.so.0" |
||
168 | failonerror="false" /> |
||
169 | </target>
|
||
170 | |||
171 | <target name="clean"> |
||
172 | <delete>
|
||
173 | <fileset
|
||
174 | dir="${targetDir}" |
||
175 | includes="*.so*"/> |
||
176 | </delete>
|
||
177 | </target>
|
||
178 | |||
179 | </project> |