|
|
| version 1.2, 2005/12/29 13:06:58 | version 1.8, 2007/03/13 11:00:28 |
|---|---|
| Line 17 mkdir src >/dev/null 2>&1 | Line 17 mkdir src >/dev/null 2>&1 |
| if test ! -f "$project_directory/gc/lib/libgc.a"; then | if test ! -f "$project_directory/gc/lib/libgc.a"; then |
| cd $project_directory/src | cd $project_directory/src |
| echo "Downloading libgc [1 lib of 3]..." | libgc="gc6.8" |
| wget -c http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc6.6.tar.gz | if test ! -f "$libgc.tar.gz"; then |
| echo "Unpacking..." | echo "Downloading libgc [1 lib of 3]..." |
| gunzip -c gc6.6.tar.gz | tar vxf - >/dev/null | wget -c http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/$libgc.tar.gz |
| cd gc6.6 | fi |
| echo "Unpacking gc..." | |
| gunzip -c $libgc.tar.gz | tar vxf - >/dev/null | |
| cd $libgc | |
| echo "Configuring libgc..." | echo "Configuring libgc..." |
| CPPFLAGS=-DUSE_LIBC_PRIVATES \ | CPPFLAGS="-DUSE_LIBC_PRIVATES -DUSE_MMAP -DUSE_MUNMAP" \ |
| ./configure --prefix=$project_directory/gc --disable-threads --disable-shared --silent | ./configure --prefix=$project_directory/gc --disable-threads --disable-shared --silent |
| echo "Building libgc..." | echo "Building libgc..." |
| make | make |
| Line 33 fi | Line 36 fi |
| if test ! -f "$project_directory/gnome/lib/libxml2.a"; then | if test ! -f "$project_directory/gnome/lib/libxml2.a"; then |
| cd $project_directory/src | cd $project_directory/src |
| echo "Downloading libxml [2 lib of 3]..." | libxml2="libxml2-2.6.27" |
| wget -c --passive-ftp ftp://xmlsoft.org/libxml2-2.6.22.tar.gz | if test ! -f "$libxml2.tar.gz"; then |
| echo "Unpacking... (be patient)" | echo "Downloading libxml [2 lib of 3]..." |
| gunzip -c libxml2-2.6.22.tar.gz | tar vxf - >/dev/null | wget -c --passive-ftp ftp://xmlsoft.org/libxml2/$libxml2.tar.gz |
| cd libxml2-2.6.22 | fi |
| #sax1, output, tree, xinclude[in libxslt], html[in libxslt, mode=html?] xptr[xinclude]-- needed! | echo "Unpacking libxml2... (be patient)" |
| rm -rf $libxml2 | |
| gunzip -c $libxml2.tar.gz | tar vxf - >/dev/null | |
| cd $libxml2 | |
| #sax1, output, tree, xinclude[in libxslt], html[in libxslt, mode=html?], xptr[xinclude], http, pattern -- needed! | |
| echo "Configuring libxml..." | echo "Configuring libxml..." |
| ./configure --prefix=$project_directory/gnome \ | ./configure --prefix=$project_directory/gnome \ |
| --without-iconv --without-threads --without-debug \ | --without-iconv --without-threads --without-debug \ |
| --without-iso8859x --without-legacy \ | --without-iso8859x --without-legacy \ |
| --without-pattern --without-push --without-python \ | --without-push --without-python \ |
| --without-reader --without-writer --without-readline --without-regexps \ | --without-reader --without-writer --without-readline --without-regexps \ |
| --without-schemas --without-schematron \ | --without-schemas --without-schematron \ |
| --without-modules \ | --without-modules \ |
| Line 58 fi | Line 65 fi |
| if test ! -f "$project_directory/gnome/lib/libxslt.a"; then | if test ! -f "$project_directory/gnome/lib/libxslt.a"; then |
| cd $project_directory/src | cd $project_directory/src |
| echo "Downloading libxslt [3 lib of 3]..." | libxslt="libxslt-1.1.20" |
| wget -c --passive-ftp ftp://xmlsoft.org/libxslt-1.1.15.tar.gz | if test ! -f "$libxslt.tar.gz"; then |
| echo "Unpacking... (be patient)" | echo "Downloading libxslt [3 lib of 3]..." |
| gunzip -c libxslt-1.1.15.tar.gz | tar vxf - >/dev/null | wget -c --passive-ftp ftp://xmlsoft.org/libxslt/$libxslt.tar.gz |
| cd libxslt-1.1.15 | fi |
| echo "Unpacking libxslt... (be patient)" | |
| rm -rf $libxslt | |
| gunzip -c $libxslt.tar.gz | tar vxf - >/dev/null | |
| cd $libxslt | |
| echo "Configuring libxslt..." | echo "Configuring libxslt..." |
| ./configure --prefix=$project_directory/gnome \ | ./configure --prefix=$project_directory/gnome \ |
| --with-libxml-prefix=$project_directory/gnome \ | --with-libxml-prefix=$project_directory/gnome \ |