Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/libs
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv15450/libs

Modified Files:
        libserf1.info 
Log Message:
New upstream libserf1 1.3.0, svn17 1.7.11, svn18 1.8.1.

Index: libserf1.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/stable/main/finkinfo/libs/libserf1.info,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- libserf1.info       4 Jun 2013 11:41:14 -0000       1.5
+++ libserf1.info       26 Jul 2013 20:54:42 -0000      1.6
@@ -1,5 +1,5 @@
 Package: libserf1
-Version: 1.2.1
+Version: 1.3.0
 Revision: 1
 Description: High-performance HTTP client library
 License: BSD
@@ -7,37 +7,49 @@
 
 # Dependencies:
 Depends: %N-shlibs (= %v-%r)
-BuildDepends: fink (>= 0.24.12-1), libapr.0-dev (>= 1.4.2-1), libaprutil.0-dev 
(>= 1.3.10-2), openssl100-dev (>= 1.0.1e-1)
+BuildDepends: fink (>= 0.24.12-1), libapr.0-dev (>= 1.4.2-1), libaprutil.0-dev 
(>= 1.3.10-2), openssl100-dev (>= 1.0.1e-1), scons
 BuildDependsOnly: true
 
 # Unpack Phase:
 Source: http://serf.googlecode.com/files/serf-%v.tar.bz2
-Source-MD5: 4f8e76c9c6567aee1d66aba49f76a58b 
+Source-MD5: bb0dbf9494495db7e8b34eac99b2dc3a 
 
-# Needed to make tests work.
+# scons sucks so patch to use right install_name.
 PatchScript: <<
-       perl -pi -e 's/-static//' Makefile.in
+       perl -pi -e "s|install_shared_path,|'%p/lib/libserf-1.0.dylib',|" 
SConstruct
 <<
 
 # Compile Phase:
-SetLDFLAGS: -Wl,-dead_strip_dylibs
-ConfigureParams: <<
-       --with-apr=%p/bin/apr-1-config \
-       --with-apr-util=%p/bin/apu-1-config \
-       --with-openssl=%p
+CompileScript: <<
+       scons \
+               PREFIX=%p \
+               LINKFLAGS=-Wl,-dead_strip_dylibs
+               APR=%p/bin/apr-1-config \
+               APU=%p/bin/apu-1-config \
+               OPENSSL=%p \
+               GSSAPI=/usr/bin/krb5-config
 <<
 
 InfoTest: <<
-  TestScript: make check || exit 2
+  TestScript: scons check || exit 2
 <<
 
 # Install Phase:
+# Here we have to do all kinds of crazy stuff because scons sucks.
+InstallScript: <<
+       mkdir -p %i
+       scons install PREFIX=%i
+       mv %i/lib/libserf-1.dylib %i/lib/libserf-1.0.dylib
+       ln -s libserf-1.0.dylib %i/lib/libserf-1.dylib
+       rm %i/lib/libserf-1.a
+<<
+
 SplitOff: <<
   Package: %N-shlibs
   Depends: libapr.0-shlibs (>= 1.4.2-1), libaprutil.0-shlibs (>= 1.3.10-2), 
openssl100-shlibs (>= 1.0.1e-1)
   Replaces: %N (<= 0.7.0-2)
   Files: lib/libserf-1.*.dylib
-  Shlibs: %p/lib/libserf-1.0.dylib 1.0.0 %n (>= 1.0.0-1)
+  Shlibs: %p/lib/libserf-1.0.dylib 4.0.0 %n (>= 1.3.0-1)
   DocFiles: LICENSE NOTICE README
 <<
 DocFiles: CHANGES design-guide.txt LICENSE NOTICE README


------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to