libapr.0-shlibs stable port information

Package: libapr.0-shlibs
Version: 1.4.5
Revision: 2

BuildDepends: pkgconfig
Replaces: libapr0-shlibs
# a transient libapr0-shlibs accidentally installed something else at the install_name location

Source: mirror:apache:apr/apr-%v.tar.bz2
Source-MD5: 8b53f5a5669d0597f2da889a2f576eb6

PatchScript: <<
### Fix layout
perl -pi -e 's,/usr/local,%p,g' config.layout
<<

ConfigureParams: <<
--enable-layout=GNU \
--enable-shared \
--disable-static \
--enable-threads \
--with-pic \
--with-sendfile=no \
SED=/usr/bin/sed \
lt_cv_path_SED=/usr/bin/sed \
AWK=/usr/bin/awk
<<

NoSetCPPFLAGS: true
NoSetLDFLAGS: true

CompileScript: <<
./configure %c
make
<<

InstallScript: <<
make install DESTDIR=%d
rm %i/lib/apr.exp
cd %i/lib && ln -s libapr.0.dylib libapr-1.dylib
<<

DocFiles: CHANGES LICENSE NOTICE README

Shlibs: <<
%p/lib/libapr.0.dylib 5.0.0 %n (>= 1.4.2-1)
<<

SplitOff: <<
Package: libapr.0-dev
Depends: %N (= %v-%r), pkgconfig
Conflicts: apr-common (<< 1:0-0), apr-ssl-common (<< 1:0-0), apr-dev (<< 1:0-0), apr-ssl-dev (<< 1:0-0), apr (<< 1:0-0), apr-ssl (<< 1:0-0), libapr-dev (<< 1:0-0)
Replaces: apr-common (<< 1:0-0), apr-ssl-common (<< 1:0-0), apr-dev (<< 1:0-0), apr-ssl-dev (<< 1:0-0), apr (<< 1:0-0), apr-ssl (<< 1:0-0), libapr-dev (<< 1:0-0)
BuildDependsOnly: True
Description: Headers and static libraries for APR
Files: <<
bin
share/apache2
include
lib/libapr.la
lib/libapr-1.dylib
lib/libapr.dylib
lib/pkgconfig
<<
DocFiles: CHANGES LICENSE NOTICE README
<<

Description: Apache Portable Runtime shared libraries
DescDetail: <<
The mission of the Apache Portable Runtime (APR) project is to create and
maintain software libraries that provide a predictable and consistent
interface to underlying platform-specific implementations. The primary goal
is to provide an API to which software developers may code and be assured
of predictable if not identical behaviour regardless of the platform on
which their software is built, relieving them of the need to code
special-case conditions to work around or take advantage of
platform-specific deficiencies or features.
<<
DescUsage: <<
You may need to force this update since apr and apr-util are now seperate
packages it caused an upgrade issue.

The easiest way is to run
sudo dpkg --force-all --remove aprutil-dev libaprutil0-shlibs

This may break apache2 temporarily.
<<
DescPackaging: <<
Previously maintained by Justin F. Hallett
<<

License: BSD
Maintainer: Daniel Johnson
Homepage: http://apr.apache.org/

# One test in testsock fails for some reason so make failures warnings for now.
InfoTest: TestScript: make check || exit 1