55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
IUPBRANCH=trunk
IUPCONFIG=ubuntu-15.04.inc
# iup-3.15
# Eggs to install (straightforward ones)
EGGS=matchable readline apropos base64 regex-literals format regex-case test coops trace csv \
dot-locking posix-utils posix-extras directory-utils hostinfo tcp-server rpc csv-xml fmt \
json md5 awful http-client spiffy uri-common intarweb spiffy-request-vars \
spiffy-directory-listing ssax sxml-serializer sxml-modifications sql-de-lite \
srfi-19 refdb ini-file sparse-vectors z3 call-with-environment-variables hahn linenoise \
crypt parley
#
# Derived variables
#
|
|
|
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
IUPBRANCH=trunk
IUPCONFIG=ubuntu-15.04.inc
# iup-3.15
# Eggs to install (straightforward ones)
EGGS=matchable readline apropos base64 regex-literals format regex-case test coops trace csv \
dot-locking posix-utils posix-extras directory-utils hostinfo tcp-server rpc csv-xml fmt \
json md5 awful http-client spiffy uri-common intarweb spiffy-request-vars pathname-expand \
spiffy-directory-listing ssax sxml-serializer sxml-modifications sql-de-lite \
srfi-19 refdb ini-file sparse-vectors z3 call-with-environment-variables hahn linenoise \
crypt parley
#
# Derived variables
#
|
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
|
cd ffcall;./configure --prefix=$(PREFIX) --enable-shared && make CC="gcc -fPIC" && make install
#======================================================================
# I U P
#======================================================================
iuplib.fossil :
#fossil clone http://www.kiatoa.com/fossils/iuplib iuplib.fossil
touch iuplib.fossil
iup/installall.sh : iuplib.fossil $(PREFIX)/lib/libiup.so
mkdir -p iup
pwd
#wget -c http://sourceforge.net/projects/canvasdraw/files/5.9/Linux%20Libraries/cd-5.9_Linux26g4_64_lib.tar.gz/download
#wget -c http://sourceforge.net/projects/iup/files/3.17/Linux%20Libraries/iup-3.17_Linux26g4_64_lib.tar.gz/download
#wget -c http://sourceforge.net/projects/imtoolkit/files/3.10/Linux%20Libraries/im-3.10_Linux26g4_64_lib.tar.gz/download
#wget -c http://sourceforge.net/projects/luabinaries/files/5.3.2/Linux%20Libraries/lua-5.3.2_Linux26g4_64_lib.tar.gz/download
tar -xzvf cd-5.9_Linux26g4_64_lib.tar.gz -C iup/
tar -xzvf im-3.10_Linux26g4_64_lib.tar.gz -C iup/
tar -xzvf iup-3.17_Linux26g4_64_lib.tar.gz -C iup/
mkdir -p $(PREFIX)/include/ $(PREFIX)/lib/
cp iup/include/* $(PREFIX)/include/
cp iup/*.so $(PREFIX)/lib/
cp iup/*.a $(PREFIX)/lib/
# cd iup && if [ -e makeall.sh ];then fossil update $(IUPBRANCH); else fossil open ../iuplib.fossil;fossil update $(IUPBRANCH); fi
iup/alldone : iup/makeall.sh $(PREFIX)/include/iup.h $(PREFIX)/lib/libiup.so
# cd iup && ./makeall.sh $(IUPCONFIG)
$(PREFIX)/lib/libiup.so $(PREFIX)/include/iup.h : iup/installall.sh iup/alldone
# cd iup && ./makeall.sh $(IUPCONFIG)
# $(PREFIX)/lib/libiup.so : iup/iup/alldone
# touch -c $(PREFIX)/lib/libiup.so
|
|
|
|
<
<
|
>
>
>
|
>
>
>
|
>
>
>
|
>
>
>
>
>
>
>
>
>
|
|
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
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
318
319
320
321
322
323
324
|
cd ffcall;./configure --prefix=$(PREFIX) --enable-shared && make CC="gcc -fPIC" && make install
#======================================================================
# I U P
#======================================================================
iuplib.fossil :
fossil clone http://www.kiatoa.com/fossils/iuplib iuplib.fossil
cd-5.9_Linux26g4_64_lib.tar.gz :
wget -c http://sourceforge.net/projects/canvasdraw/files/5.9/Linux%20Libraries/cd-5.9_Linux26g4_64_lib.tar.gz/download
mv download cd-5.9_Linux26g4_64_lib.tar.gz
iup-3.17_Linux26g4_64_lib.tar.gz :
wget -c http://sourceforge.net/projects/iup/files/3.17/Linux%20Libraries/iup-3.17_Linux26g4_64_lib.tar.gz/download
mv download iup-3.17_Linux26g4_64_lib.tar.gz
im-3.10_Linux26g4_64_lib.tar.gz :
wget -c http://sourceforge.net/projects/imtoolkit/files/3.10/Linux%20Libraries/im-3.10_Linux26g4_64_lib.tar.gz/download
mv download im-3.10_Linux26g4_64_lib.tar.gz
lua-5.3.2_Linux26g4_64_lib.tar.gz :
wget -c http://sourceforge.net/projects/luabinaries/files/5.3.2/Linux%20Libraries/lua-5.3.2_Linux26g4_64_lib.tar.gz/download
mv download lua-5.3.2_Linux26g4_64_lib.tar.gz
iup/installall.sh : $(PREFIX)/lib/libiup.so \
cd-5.9_Linux26g4_64_lib.tar.gz \
iup-3.17_Linux26g4_64_lib.tar.gz \
im-3.10_Linux26g4_64_lib.tar.gz \
lua-5.3.2_Linux26g4_64_lib.tar.gz # iuplib.fossil
mkdir -p iup
pwd
tar -xzvf cd-5.9_Linux26g4_64_lib.tar.gz -C iup/
tar -xzvf im-3.10_Linux26g4_64_lib.tar.gz -C iup/
tar -xzvf iup-3.17_Linux26g4_64_lib.tar.gz -C iup/
mkdir -p $(PREFIX)/include/ $(PREFIX)/lib/
cp iup/include/* $(PREFIX)/include/
cp iup/*.so $(PREFIX)/lib/
cp iup/*.a $(PREFIX)/lib/
# cd iup && if [ -e makeall.sh ];then fossil update $(IUPBRANCH); else fossil open ../iuplib.fossil;fossil update $(IUPBRANCH); fi
iup/alldone : $(PREFIX)/include/iup.h $(PREFIX)/lib/libiup.so # iup/makeall.sh
# cd iup && ./makeall.sh $(IUPCONFIG)
$(PREFIX)/lib/libiup.so $(PREFIX)/include/iup.h : iup/installall.sh iup/alldone
# cd iup && ./makeall.sh $(IUPCONFIG)
# $(PREFIX)/lib/libiup.so : iup/iup/alldone
# touch -c $(PREFIX)/lib/libiup.so
|