Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/devel
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv16097
Added Files:
svn-swig-rb.info
Log Message:
Add svn-swig-rb from 10.4 tree.
--- NEW FILE: svn-swig-rb.info ---
Info2: <<
Package: svn-swig-rb%type_pkg[ruby]
Version: 1.7.8
Revision: 1
Description: Swig svn Ruby %type_raw[ruby] bindings
Type: ruby (1.8)
License: BSD
Maintainer: Daniel Johnson <[email protected]>
# Dependencies:
Depends: ruby%type_pkg[ruby]-shlibs, ruby%type_pkg[ruby], %N-shlibs (= %v-%r)
BuildDepends: <<
cyrus-sasl2-dev (>= 2.1.25-2),
db53-aes,
expat1,
fink (>= 0.24.12-1),
gettext-bin,
gettext-tools,
libapr.0-dev (>= 1.4.6-1),
libaprutil.0-dev (>= 1.5.1-1),
libgettext8-dev,
libiconv-dev (>= 1.9.1-11),
libserf1 (>= 1.1.1-1),
neon27 (>= 0.29.6-3),
sqlite3-dev,
openssl100-dev (>= 1.0.1c-1),
ruby%type_pkg[ruby]-dev,
svn17-dev (>= %v),
swig
<<
# Unpack Phase:
Source: mirror:apache:subversion/subversion-%v.tar.bz2
Source-MD5: 454b9f398415c3504435bf8c3f6ed127
PatchScript: <<
perl -pi -e "s/PACKAGE_NAME='subversion'/PACKAGE_NAME='subversion17'/"
configure
perl -pi -e 's/(`echo \$\$inst`)/${1}17/' Makefile.in
<<
# Compile Phase:
GCC: 4.0
ConfigureParams: <<
--libexecdir='${prefix}/lib/ruby/site_ruby/%type_raw[ruby]/svn' \
--libdir='${prefix}/lib/ruby/site_ruby/%type_raw[ruby]/svn' \
--enable-shared \
--disable-static \
--with-neon=%p \
--with-serf=%p \
--with-apr=%p/bin/apr-1-config \
--with-apr-util=%p/bin/apu-1-config \
--without-apxs \
--disable-mod-activation \
--without-jdk \
--disable-javahl \
--with-jikes=no \
--with-swig \
--with-berkeley-db='db.h:%p/include/db5:%p/lib:db-5.3' \
--with-sasl=%p \
--with-gssapi \
--with-sqlite=%p \
--without-gnome-keyring \
--without-kwallet \
--without-ctypesgen \
--without-doxygen \
--without-libmagic \
--disable-neon-version-check \
RUBY=%p/bin/ruby%type_raw[ruby]
<<
CompileScript: <<
#! /bin/sh -ev
### Recreate build-outputs.mk to not include already installed libs
./gen-make.py --installed-libs
libsvn_client,libsvn_delta,libsvn_diff,libsvn_fs,libsvn_fs_base,libsvn_fs_fs,libsvn_fs_util,libsvn_ra,libsvn_ra_neon,libsvn_ra_local,libsvn_ra_serf,libsvn_ra_svn,libsvn_repos,libsvn_subr,libsvn_wc
### Configure shared
export F77=no
export PERL=/usr/bin/false
./configure %c
### Build swig ruby bindings
rubyhdrdir=`%p/bin/ruby%type_raw[ruby] -rrbconfig -e "print
RbConfig::CONFIG['rubyhdrdir']"`
if [ "$rubyhdrdir" == "nil" ]; then
rubyhdrdir=`%p/bin/ruby%type_raw[ruby] -rrbconfig -e "print
RbConfig::CONFIG['archdir']"`
fi
make swig-rb CPPFLAGS="-I$(top_srcdir)/subversion/include
-I$(top_builddir)/subversion -I$rubyhdrdir -I%p/include/neon
-I%p/include/serf-1 -I%p/include/apache2 -I%p/include -DDARWIN
-DSIGPROCMASK_SETS_THREAD_MASK" INCLUDES=''
<<
InfoTest: <<
TestScript: <<
#! /bin/sh -ev
export
DYLD_LIBRARY_PATH=%b/subversion/bindings/swig/ruby/libsvn_swig_ruby/.libs
make check-swig-rb || exit 2
<<
<<
# Install Phase:
DocFiles: LICENSE NOTICE INSTALL.swig NOTES.swig
InstallScript: <<
### Install swig ruby bindings
make install-swig-rb DESTDIR=%d
cp subversion/bindings/swig/INSTALL INSTALL.swig
cp subversion/bindings/swig/NOTES NOTES.swig
### Remove unneeded archives
rm %i/lib/ruby/site_ruby/%type_raw[ruby]/svn/*.la
rm %i/lib/ruby/site_ruby/%type_raw[ruby]/svn/libsvn_swig_ruby-1.dylib
rm %i/lib/ruby/site_ruby/%type_raw[ruby]/*darwin/svn/ext/*.la
<<
SplitOff: <<
Description: Subversion - Swig Ruby Shared libraries
Package: %N-shlibs
Depends: svn17-shlibs (>= %v)
Files: <<
lib/ruby/site_ruby/%type_raw[ruby]/svn/libsvn_swig_ruby-1.0.dylib
<<
Shlibs: <<
%p/lib/ruby/site_ruby/%type_raw[ruby]/svn/libsvn_swig_ruby-1.0.dylib 1.0.0
%n (>= 1.5.0-3)
<<
DocFiles: LICENSE NOTICE INSTALL.swig NOTES.swig
<<
# Additional Info
DescDetail: <<
Bindings to call svn functions from ruby.
<<
DescUsage: <<
Please read the files in '%p/share/doc/svn-swig-rb%type_pkg[ruby]/'.
<<
DescPort: <<
Added 'export F77=no;' to configure in order not to fail if the
fort77 package is installed.
Previously maintained by Christian Schaffner <[email protected]>
<<
DescPackaging: <<
The svn ruby bindings don't support ruby older than 1.8.2
<<
Homepage: http://subversion.apache.org/
<<
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs