# -*- coding: ascii; tab-width: 4; x-counterpart: libaprutil.0-shlibs.patch -*- Package: libaprutil.0-shlibs Version: 1.6.3 Revision: 1 # other libaprutil.0-* need to keep in sync with %v (shared tarball) Depends: << db60-aes-shlibs, expat1-shlibs, gdbm6-shlibs, libapr.0-shlibs (>= 1.7.4-1), libiconv (>= 1.16), openldap2-shlibs, openssl300-shlibs << BuildDepends: << db60-aes, expat1, fink-package-precedence, gdbm6, libapr.0-dev (>= 1.7.4-1), libiconv-dev (>= 1.16), openldap2-dev, openssl300-dev, pkgconfig << BuildConflicts: ccache-default Replaces: libaprutil0-shlibs # a transient libaprutil0-shlibs accidentally installed something else at the install_name location Suggests: libaprutil.0-mysql, libaprutil.0-odbc, libaprutil.0-postgresql, libaprutil.0-sqlite2, libaprutil.0-sqlite3 Source: mirror:apache:apr/apr-util-%v.tar.bz2 Source-Checksum: SHA256(a41076e3710746326c3945042994ad9a4fcac0ce0277dd8fea076fec3c9772b5) PatchFile: %n.patch PatchFile-MD5: eb4274f2998a4146164237056265fa6e PatchScript: << ### Fix layout perl -pi -e 's,/usr/local,%p,g' config.layout perl -pi -e 's,-Werror,-Werror -Qunused-arguments,g; s,-lSystem -lcrypto,-lSystem,' configure %{default_script} << UseMaxBuildJobs: false ConfigureParams: << --enable-layout=GNU \ --with-apr=%p \ --includedir=%p/include/apr \ --with-ldap-include=%p/include \ --with-ldap-lib=%p/lib \ --with-ldap \ --with-dbm=db60 \ --with-gdbm=%p \ --with-berkeley-db=%p \ --with-crypto \ --with-commoncrypto \ --with-openssl \ --without-pgsql \ --without-mysql \ --without-sqlite2 \ --without-sqlite3 \ --without-odbc \ --with-expat=%p \ --with-iconv=%p << NoSetLDFLAGS: true CompileScript: << %{default_script} make local-depend fink-package-precedence --depfile-ext='\.deps' --prohibit-bdep=libaprutil.0-dev . << # Tests only run on already-installed library. # Playing with install_name doesn't help. #InfoTest: << # TestScript: << # install_name_tool -id %b/.libs/libaprutil.0.dylib %b/.libs/libaprutil.0.dylib # # make check || exit 2 # # install_name_tool -id %p/lib/libaprutil.0.dylib %b/.libs/libaprutil.0.dylib # << #<< InstallScript: << make install DESTDIR=%d /bin/rm %i/lib/aprutil.exp cd %i/lib && ln -s libaprutil.0.dylib libaprutil-1.dylib << DocFiles: CHANGES LICENSE NOTICE README Shlibs: << %p/lib/libaprutil.0.dylib 7.0.0 %n (>= 1.6.0-1) << SplitOff: << Package: libaprutil.0-dev Conflicts: apr-common (<< 1:0-0), apr-ssl-common (<< 1:0-0), aprutil-dev (<< 1:0-0), libaprutil-dev (<< 1:0-0) Replaces: apr-common (<< 1:0-0), apr-ssl-common (<< 1:0-0), aprutil-dev (<< 1:0-0), libaprutil-dev (<< 1:0-0) Depends: %N (= %v-%r) BuildDependsOnly: True Description: Headers and static libraries for APRUTIL Files: << bin include lib/pkgconfig lib/libaprutil.la lib/libaprutil.dylib lib/libaprutil-1.dylib << DocFiles: CHANGES LICENSE NOTICE README << Description: APRUTIL 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: << The following packages provide optional database backends that you can install separately: libaprutil.0-mysql, libaprutil.0-odbc, libaprutil.0-postgresql, libaprutil.0-sqlite2, libaprutil.0-sqlite3 << DescPackaging: << Must keep the libaprutil.0-*.info versions in sync with this. Previously maintained by Justin F. Hallett As of 1.5.2-1 headers have been moved from %p/include/apache2 to %p/include/apr to avoid conflicts with newer apaches. *Always* use apu-1-config to get the include directory! << License: BSD Maintainer: Daniel Johnson Homepage: http://apr.apache.org/