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

Added Files:
        ruby20.info 
Log Message:
New package ruby20.

--- NEW FILE: ruby20.info ---
Package: ruby20
Version: 2.0.0-p0
Revision: 1
Description: Interpreted, object-oriented language
License: BSD
Homepage: http://www.ruby-lang.org/
Maintainer: Daniel Johnson <[email protected]>

# Dependencies.
Depends: %N-shlibs (= %v-%r), gdbm3-shlibs, libncursesw5-shlibs (>= 
5.9-20110507-1), readline6-shlibs, openssl100-shlibs (>= 1.0.1e-1)
BuildDepends: bison, fink (>= 0.24.12), gdbm3, libncursesw5 (>= 
5.9-20110507-1), readline6, openssl100-dev (>= 1.0.1e-1)

# Unpack Phase.
Source: http://ftp.ruby-lang.org/pub/ruby/2.0/ruby-%v.tar.bz2
Source-MD5: 895c1c581f8d28e8b3bb02472b2ccf6a

# Patch Phase.
PatchScript: <<
  # This test fails due to confusion over /tmp and /private/tmp.
  rm -r test/rubygems/test_gem_ext_cmake_builder.rb
  # Don't build tk interface.
  rm -r ext/tk
<<

# Compile Phase.
NoSetCPPFLAGS: true
SetCPPFLAGS: -I%p/include/ncursesw -I%p/include
SetCFLAGS: -g -Os
SetLDFLAGS: -Wl,-dead_strip_dylibs
ConfigureParams: <<
        --program-suffix=2.0 \
        --enable-shared \
        --build=x86_64-apple-darwin
<<

# Test Phase
InfoTest: <<
        TestScript: LANG=en_US.UTF-8 make check || exit 2
<<

# Install Phase.
InstallScript: <<
  make -j1 install DESTDIR=%d
#  ln -s erb2.0 %i/bin/erb
#  ln -s gem2.0 %i/bin/gem
#  ln -s irb2.0 %i/bin/irb
#  ln -s rake2.0 %i/bin/rake
#  ln -s rdoc2.0 %i/bin/rdoc
#  ln -s ri2.0 %i/bin/ri
#  ln -s ruby2.0 %i/bin/ruby
#  ln -s ruby2.0.1 %i/share/man/man1/ruby.1
#  ln -s testrb2.0 %i/bin/testrb
<<
DocFiles: BSDL COPYING COPYING.ja ChangeLog GPL LEGAL NEWS README README.EXT 
README.EXT.ja README.ja sample

#SplitOff: <<
#  Package: ruby
#  Depends: ri20 (= %v-%r), %N (= %v-%r)
#  Conflicts: ri
#  Replaces: ri
#  Provides: ri
#  Description: Interpreted, object-oriented language (symlinks)
#  DocFiles: BSDL COPYING COPYING.ja ChangeLog GPL LEGAL NEWS README README.EXT 
README.EXT.ja README.ja
#  Files: <<
#    bin/erb
#    bin/gem
#    bin/irb
#    bin/rake
#    bin/rdoc
#    bin/ruby
#    bin/testrb
#    bin/ri
#    share/man/man1/ruby.1
#  <<
#<<

SplitOff2: <<
  Package: %N-dev
  Description: Interpreted, object-oriented language (mkmf.rb, *.h and *.dylib)
  BuildDependsOnly: True
  Depends: %N (= %v-%r)
  Files: <<
    lib/libruby2.0.dylib
    lib/libruby.2.0.dylib
    lib/libruby.2.0.0-static.a
    lib/ruby/2.0.0/mkmf.rb
    lib/pkgconfig
    include
  <<
  DocFiles: BSDL COPYING COPYING.ja ChangeLog GPL LEGAL NEWS README README.EXT 
README.EXT.ja README.ja
<<

SplitOff3: <<
  Package: ri20
  Description: Interpreted, object-oriented language (documentation)
  Depends: %N (= %v-%r)
  Files: <<
    bin/ri2.0
    share/ri/2.0.0
  <<
  DocFiles: BSDL COPYING COPYING.ja ChangeLog GPL LEGAL NEWS README README.EXT 
README.EXT.ja README.ja
<<

SplitOff4: <<
  Package: %N-shlibs
  Shlibs: %p/lib/libruby.2.0.0.dylib 2.0.0 %n (>= 2.0.0-p0-1)
  Description: Interpreted, object-oriented language (shared libraries)
  Files: lib/libruby.2.0.0.dylib
  DocFiles: BSDL COPYING COPYING.ja ChangeLog GPL LEGAL NEWS README README.EXT 
README.EXT.ja README.ja
<<

DescDetail: <<
- It has many features to process text files and to do system
  management tasks (as in Perl).
- It is simple, straight-forward, extensible, and portable, and free.
- It has simple syntax, partially inspired by Eiffel and Ada.
- All data in Ruby is an object, not in the sense of Python or Perl,
  but in the sense of Smalltalk: no exceptions.
<<
DescPackaging: <<
The Ruby tcltk extension is packaged separately and links against Fink's X11
version of tcltk. It could be replaced with a version linked against an Aqua
tcltk if someone packaged it.

Packages should depend on ruby20 to run scripts. The shared library
does not provide many of the stdlib features, they are implemented in
the bundled extensions.

The extensions would link and probably run with Apple's libraries but
since Fink has its own version of ncurses, readline, etc. it should
always link with Fink's to get consistent results.

Move mkmf script into -dev to make extension configuration error out
instead of failing all tests.
<<


------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to