# -*- coding: ascii; tab-width: 4; x-counterpart: libserf1.patch -*- Package: libserf1 Version: 1.3.10 Revision: 1 Description: High-performance HTTP client library License: BSD Maintainer: Daniel Johnson # Dependencies: Depends: %N-shlibs (= %v-%r) BuildDepends: << fink (>= 0.32), libapr.0-dev (>= 1.6.3-1), libaprutil.0-dev (>= 1.6.1-1), openssl300-dev, scons (>= 4) << BuildDependsOnly: true # Unpack Phase: Source: mirror:apache:serf/serf-%v.tar.bz2 #Source: https://archive.apache.org/dist/serf/serf-%v.tar.bz2 Source-Checksum: SHA256(be81ef08baa2516ecda76a77adf7def7bc3227eeb578b9a33b45f7b41dc064e6) # Sucky, sucky scons. Make sure we use same install_name as 1.3.1. # Now we also have to manually set -compatibility_version because # scons' suckiness increased in the latest version. PatchFile: %n.patch PatchFile-MD5: 12c9e5ba765821571a5586dc7f908e06 # Compile Phase: # 1.3.2 rolled back c_v from 4.0.0 to 1.3.0 which breaks things naturally. # Force it back to 4.0.0. Eliminate in next major version. CompileScript: << scons \ PREFIX=%p \ CFLAGS=-m64 \ LINKFLAGS=-Wl,-dead_strip_dylibs,-arch,%m \ APR=%p/bin/apr-1-config \ APU=%p/bin/apu-1-config \ OPENSSL=%p \ GSSAPI=/usr/bin/krb5-config \ $MAKEFLAGS << # Tests can fail due to firewall settings. InfoTest: << TestScript: << scons CFLAGS=-m64 LINKFLAGS=-Wl,-arch,%m check || exit 1 << << # Install Phase: InstallScript: << scons install PREFIX=%p --install-sandbox=%d rm %i/lib/libserf-1.0.a ln -s libserf-1.0.dylib %i/lib/libserf-1.dylib << SplitOff: << Package: %N-shlibs Depends: << libapr.0-shlibs (>= 1.6.3-1), libaprutil.0-shlibs (>= 1.6.1-1), openssl300-shlibs << Replaces: %N (<= 0.7.0-2) Files: lib/libserf-1.*.dylib Shlibs: %p/lib/libserf-1.0.dylib 4.3.0 %n (>= 1.3.6-1) DocFiles: LICENSE NOTICE README << DocFiles: CHANGES design-guide.txt LICENSE NOTICE README # Additional Info DescDetail: << The serf library is a C-based HTTP client library built upon the Apache Portable Runtime (APR) library. It multiplexes connections, running the read/write communication asynchronously. Memory copies and transformations are kept to a minimum to provide high performance operation. << DescPackaging: << Note that libserf0 and libserf1 can coexist since they have no files in common. Previously maintained by Christian Schaffner << Homepage: http://serf.apache.org