[26460] users/pipping/build_coreutils.sh

source_changes at macosforge.org source_changes at macosforge.org
Sun Jun 24 06:42:35 PDT 2007


Revision: 26460
          http://trac.macosforge.org/projects/macports/changeset/26460
Author:   pipping at macports.org
Date:     2007-06-24 06:42:35 -0700 (Sun, 24 Jun 2007)

Log Message:
-----------
add test script

it is designed to create two trees, one named ppc, the other named i386, in
a temporary location, /tmp/coreutils by default, of coreutils, built
for both architectures, independently.

Added Paths:
-----------
    users/pipping/build_coreutils.sh

Added: users/pipping/build_coreutils.sh
===================================================================
--- users/pipping/build_coreutils.sh	                        (rev 0)
+++ users/pipping/build_coreutils.sh	2007-06-24 13:42:35 UTC (rev 26460)
@@ -0,0 +1,21 @@
+#! /bin/sh
+
+export PATH=/bin:/sbin:/usr/bin:/usr/sbin
+
+TARGET=/tmp/coreutils
+MAKEOPTS=-j3
+mkdir $TARGET
+cd $TARGET
+curl -O ftp://ftp.gnu.org/gnu/coreutils/coreutils-6.9.tar.bz2
+mkdir build_ppc
+tar -C build_ppc -xjf coreutils-6.9.tar.bz2
+cd build_ppc/coreutils-6.9
+env CPPFLAGS="-I/Developer/SDKs/MacOSX10.4u.sdk/usr/include -arch ppc" LDFLAGS="-L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib -arch ppc" ./configure --host=powerpc-apple-darwin8 ac_cv_c_bigendian=yes && make $MAKEOPTS && make $MAKEOPTS install DESTDIR=$TARGET/ppc
+cd $TARGET
+mkdir build_i386
+tar -C build_i386 -xjf coreutils-6.9.tar.bz2
+cd build_i386/coreutils-6.9
+env CPPFLAGS="-I/Developer/SDKs/MacOSX10.4u.sdk/usr/include -arch i386" LDFLAGS="-L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib -arch i386" ./configure --host=i686-apple-darwin8 ac_cv_c_bigendian=no && make $MAKEOPTS && make $MAKEOPTS install DESTDIR=$TARGET/i386
+cd $TARGET
+rm -rf build_i386 build_ppc
+rm coreutils-6.9.tar.bz2


Property changes on: users/pipping/build_coreutils.sh
___________________________________________________________________
Name: svn:executable
   + *

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070624/0988812c/attachment.html


More information about the macports-changes mailing list