Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 45 lines (30 sloc) 0.625 kb
2a93fd3 @photron Initial commit
authored
1 #!/bin/sh -ex
2
1fda0fb @photron Refactor the download part of all compile scripts
authored
3 . utilslib.sh
4
5 basedir=/src/glib
6 baseurl=http://ftp.gnome.org/pub/gnome/sources/glib/2.24
2a93fd3 @photron Initial commit
authored
7 tarball=glib-2.24.0.tar.gz
8 directory=glib-2.24.0
9
1fda0fb @photron Refactor the download part of all compile scripts
authored
10 mkdir -p $basedir
11 pushd $basedir
2a93fd3 @photron Initial commit
authored
12
1fda0fb @photron Refactor the download part of all compile scripts
authored
13 utilslib_download $baseurl $tarball
2a93fd3 @photron Initial commit
authored
14
15 if [ ! -d $directory ]
16 then
17 echo unpacking $tarball ...
18 tar -xvf $tarball
19 fi
20
21 pushd $directory
22
23 if [ ! -f mingw.patch.applied ]
24 then
25 echo patching ...
26 patch -p1 < ../../lua-5.1.4-mingw.patch
27 echo applied > mingw.patch.applied
28 fi
29
30 exit
31
32 if [ ! -f configure.done ]
33 then
34
35 CFLAGS=-I/include\ -L/lib\ -Os ./configure --prefix=
36
37 echo done > configure.done
38 fi
39
40 make
41
42
43 popd
44 popd
Something went wrong with that request. Please try again.