180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
|
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
|
-
+
|
cd $BUILDHOME
fi
cd $BUILDHOME
#if [[ ! -e 1.0.0.tar.gz ]];then
# wget --no-check-certificate https://github.com/nanomsg/nanomsg/archive/1.0.0.tar.gz
# mv 1.0.0 1.0.0.tar.gz
#fi
if ! [[ -e $PREFIX/lib64/libnanomsg.so.1.0.0 ]]; then
if ! [[ -e $PREFIX/lib/libnanomsg.so ]]; then
wget --no-check-certificate https://github.com/nanomsg/nanomsg/archive/1.0.0.tar.gz
mv 1.0.0 1.0.0.tar.gz
tar xf 1.0.0.tar.gz
cd nanomsg-1.0.0
./configure --prefix=$PREFIX
make
make install
|
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
|
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
|
+
+
-
-
+
+
+
|
$CHICKEN_INSTALL $PROX -keep-installed $egg
#$CHICKEN_INSTALL $PROX $egg
if [ $? -ne 0 ]; then
echo "$egg failed to install"
exit 1
fi
done
if [[ ! -e $PREFIX/lib/chicken/7/mysql-client.so ]];then
if [[ -e `which mysql_config` ]]; then
$CHICKEN_INSTALL $PROX mysql-client
if [[ -e `which mysql_config` ]]; then
$CHICKEN_INSTALL $PROX mysql-client
fi
fi
cd $BUILDHOME
cd `$PREFIX/bin/csi -p '(chicken-home)'`
curl http://3e8.org/pub/chicken-doc/chicken-doc-repo.tgz | tar zx
cd $BUILDHOME
|
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
|
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
|
-
+
+
-
+
+
+
+
+
-
-
+
+
-
-
+
|
echo WARNING: Using old IUP libraries
export files="cd/cd-5.4.1_Linux${KTYPE}_${ARCHSIZE}lib.tar.gz im/im-3.6.3_Linux${KTYPE}_${ARCHSIZE}lib.tar.gz iup/iup-3.5_Linux${KTYPE}_${ARCHSIZE}lib.tar.gz"
fi
echo $files
mkdir -p $PREFIX/iuplib
mkdir -p iup/
for a in `echo $files` ; do
for a in $files ; do
targfile=$(echo $a | cut -d'/' -f2)
if ! [[ -e tgz/$a ]] ; then
echo wget -c -O tgz/$a http://www.kiatoa.com/matt/chicken-build/$a
wget -c http://www.kiatoa.com/matt/chicken-build/$a
mv `echo $a | cut -d'/' -f2` tgz/
mv $targfile tgz/
fi
if ! [[ -e tgz/$targfile ]] ; then
echo "ERROR: Failed to get http://www.kiatoa.com/matt/chicken-build/$a, please report this to matt@kiatoa.com"
exit 1
fi
echo Untarring tgz/$a into $BUILDHOME/lib
tar -xzf tgz/`echo $a | cut -d'/' -f2` -C iup/
echo Untarring tgz/$targfile into $BUILDHOME/lib
tar -xzf tgz/$targfile -C iup/
#(cd $PREFIX/lib;tar xfvz $BUILDHOME/tgz/$a;mv include/* ../include)
# (cd $DEPLOYTARG;tar xfvz $BUILDHOME/$a)
done
cp iup/include/* $PREFIX/include/
cp iup/*.so $PREFIX/lib/
cp iup/*.a $PREFIX/lib/
cp iup/ftgl/lib/*/* $PREFIX/lib/
cd $BUILDHOME
# ffcall obtained from:
# cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/libffcall co ffcall
|