Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/languages
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv17391

Added Files:
        llvm-gcc42.info 
Log Message:
add llvm-gcc42 package for xcode >= 4.7

--- NEW FILE: llvm-gcc42.info ---
Package: llvm-gcc42
Version: 2336.11
Revision: 1
Source: http://opensource.apple.com/tarballs/llvmgcc42/llvmgcc42-%v.tar.gz
Source-MD5: 046629f7b3ce59bcb32b5116d29c27cd
PatchFile: %n.patch
PatchFile-MD5: 2c85470876bc22c361297ea5b7117847 
BuildDepends: fink (>= 0.28), xcode (>= 4.7)
Depends: %N-shlibs (= %v-%r),xcode (>= 4.7)
SourceDirectory: llvmgcc42-%v
NoSetCPPFLAGS: true
NoSetLDFLAGS: true
BuildDependsOnly: false
UseMaxBuildJobs: true
InfoDocs: cpp.info cppinternals.info gcc.info gccinstall.info gccint.info 
libgomp.info
PatchScript: <<
  #!/bin/bash -ev
  sed -e "s|@@SDKROOT@@|`xcrun --show-sdk-path`|g" < %{PatchFile} | patch -p0
  mv build_gcc.fink build_gcc
  chmod u+x build_gcc
  perl -pi -e "s|DEVELOPER_DIR|MP_DEVELOPER_DIR|g" %b/GNUmakefile 
%b/llvmCore/utils/buildit/build_llvm
  perl -pi -e "s|--enable-werror | |" %b/build_gcc
<<
CompileScript: <<
<<
InstallScript: <<
  #!/bin/bash -ev
  export LIBRARY_PATH="/usr/lib"
  export CPATH="/usr/include"
  export PATH="/bin:/usr/bin:/sbin:/usr/sbin"
  export LANGUAGES="c,c++,objc,obj-c++"
  export AR_FOR_TARGET=/usr/bin/ar
  export AS_FOR_TARGET=/usr/bin/as
  export LD_FOR_TARGET=/usr/bin/ld
  export NM_FOR_TARGET=/usr/bin/nm
  export RANLIB_FOR_TARGET=/usr/bin/ranlib
  export STRIP_FOR_TARGET=/usr/bin/strip
  export DSYMUTIL_FOR_HOST=/usr/bin/dsymutil
  export RANLIB_FOR_HOST=/usr/bin/ranlib
  export STRIP_FOR_HOST=/usr/bin/strip
  export OTOOL=/usr/bin/otool
  export OTOOL64=/usr/bin/otool
  make install CC="clang -pipe -std=gnu89"            \
               CXX="clang++ -pipe -stdlib=libstdc++"  \
               PREFIX=%p                              \
               SRCROOT=%b                             \
               OBJROOT=%b/../objroot                  \
               SYMROOT=%b/../symroot                  \
               DSTROOT=%d                             \
               RC_NONARCH_CFLAGS="-pipe -std=gnu89"   \
               RC_OS="macos"                          \
               RC_ARCHS="x86_64"                      \
               RC_ProjectSourceVersion="2336"         \
               RC_ProjectSourceSubversion="11"        \
               TARGETS="x86_64"                       \
               MP_DEVELOPER_DIR="Developer"

  # move directory structure with tar
  cd %b/../objroot/dst-x86_64-x86_64
  tar -cpf - sw | (cd %d ; tar xpf -)

  # remove overlapping manpages with gcc48
  rm -fr %i/share/man/man7

  # remove llvm-gcc-4.2 as gcc
  rm %i/bin/gcc

  # add symlinks for as, ld and libstdc++.dylib
  ln -sf /usr/bin/as %i/lib/llvm-gcc42/gcc/x86_64-apple-darwin13/4.2.1/as
  ln -sf /usr/bin/ld %i/lib/llvm-gcc42/gcc/x86_64-apple-darwin13/4.2.1/ld
  ln -sf /usr/lib/libstdc++.6.dylib 
%i/lib/llvm-gcc42/gcc/x86_64-apple-darwin13/4.2.1/libstdc++.6.dylib
<<
SplitOff: <<
Package: %N-shlibs
Description: Shared libraries for llvm-gcc42
Files: <<
  lib/llvm-gcc42/libgomp.1*.dylib
  lib/llvm-gcc42/i386/libgomp.1*.dylib
<<
Shlibs: <<
  %p/lib/llvm-gcc42/libgomp.1.dylib 2.0.0 %n (>= 2336.11-1)
  %p/lib/llvm-gcc42/i386/libgomp.1.dylib 2.0.0 %n (>= 2336.11-1)
  !%p/lib/llvm-gcc42/gcc/x86_64-apple-darwin13/4.2.1/libllvmgcc.dylib
  <<
<<
License: GPL2
Description: Apple gcc compiler frontend for llvm
DescDetail: <<
llvm-gcc42 integrates the LLVM optimizers and code 
generator with the GCC 4.2 parser. This allows LLVM to
compile languages supported by the GCC compiler
frontends, and provides high-fidelity drop-in 
compatibility with version 4.2 of GCC.
<<
DescPackaging: <<
Removal of SDK from / breaks sysroot for cross-compiler build so only build 
native, x86_64, for now.
<<
Homepage: http://opensource.apple.com/
Maintainer: Jack Howarth <howa...@bromo.med.uc.edu>


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to