gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r7317 - Extractor/contrib/macosx


From: gnunet
Subject: [GNUnet-SVN] r7317 - Extractor/contrib/macosx
Date: Tue, 24 Jun 2008 01:15:10 -0600 (MDT)

Author: holindho
Date: 2008-06-24 01:15:10 -0600 (Tue, 24 Jun 2008)
New Revision: 7317

Modified:
   Extractor/contrib/macosx/build-osx-framework.sh
Log:
add gnu make 3.81 to the toolchain


Modified: Extractor/contrib/macosx/build-osx-framework.sh
===================================================================
--- Extractor/contrib/macosx/build-osx-framework.sh     2008-06-24 01:42:07 UTC 
(rev 7316)
+++ Extractor/contrib/macosx/build-osx-framework.sh     2008-06-24 07:15:10 UTC 
(rev 7317)
@@ -2,9 +2,12 @@
 
 #
 # A script to build Extractor.framework for Mac OS X
-# 
+#
 # Copyright (C) 2008 Heikki Lindholm
 #
+# Run from the libextractor top source dir, e.g. 
+# > ./contrib/macosx/build-osx-framework.sh
+#
 # - 64-bit archs won't build on Mac OS X 10.4 (too many missing deps)
 # 
 # TODO: 
@@ -24,6 +27,8 @@
 BUILD_ARCHS_LIST="ppc i386"
 export MACOSX_DEPLOYMENT_TARGET=10.4
 
+GNUMAKE_URL=http://ftp.gnu.org/pub/gnu/make
+GNUMAKE_NAME=make-3.81
 LIBTOOL_URL=ftp://ftp.gnu.org/gnu/libtool
 LIBTOOL_NAME=libtool-2.2.4
 GETTEXT_URL=ftp://ftp.gnu.org/gnu/gettext
@@ -37,7 +42,7 @@
 LIBMPEG2_URL=http://libmpeg2.sourceforge.net/files
 LIBMPEG2_NAME=mpeg2dec-0.4.1
 
-export 
PATH=/usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin:${BUILD_DIR}/toolchain/bin
+export 
PATH=${BUILD_DIR}/toolchain/bin:/usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin
 
 #
 # Fetch necessary packages
@@ -64,6 +69,7 @@
 fetch_all_packages()
 {
 #      fetch_package "${LIBTOOL_NAME}" "${LIBTOOL_URL}"
+       fetch_package "${GNUMAKE_NAME}" "${GNUMAKE_URL}"
        fetch_package "${GETTEXT_NAME}" "${GETTEXT_URL}"
        fetch_package "${LIBOGG_NAME}" "${LIBOGG_URL}"
        fetch_package "${LIBVORBIS_NAME}" "${LIBVORBIS_URL}"
@@ -76,8 +82,25 @@
 #
 build_toolchain()
 {
+       
+       if [ ! -e "${BUILD_DIR}/toolchain/bin/make" ]
+       then
+               echo "building toolchain: ${GNUMAKE_NAME}..."
+               cd contrib
+
+               tar xzf "${GNUMAKE_NAME}.tar.gz"
+               cd "${GNUMAKE_NAME}"
+               ./configure --prefix="${BUILD_DIR}/toolchain"
+               make install
+               cd ..
+               rm -rf "${GNUMAKE_NAME}"
+
+               cd ..
+       fi
+
        if [ ! -e "${BUILD_DIR}/toolchain/bin/msgfmt" ]
        then
+               echo "building toolchain: ${GETTEXT_NAME}..."
                cd contrib
 
                tar xzf "${GETTEXT_NAME}.tar.gz"
@@ -95,9 +118,12 @@
 
        if [ ! -e "${BUILD_DIR}/toolchain/bin/dictionary-builder" ]
        then
+               echo "building toolchain: dictionary-builder..."
                ./configure --prefix="${BUILD_DIR}/toolchain"   \
                                --disable-gsf                   \
-                               --disable-gnome
+                               --disable-gnome                 \
+                               --disable-exiv2                 \
+                               --enable-printable
                make install
                cp src/plugins/printable/dictionary-builder     \
                        "${BUILD_DIR}/toolchain/bin"





reply via email to

[Prev in Thread] Current Thread [Next in Thread]