Package: system-openssl-dev Version: 0.9.7 Revision: 4 BuildDependsOnly: true Depends: macosx (>= 10.3.0-1), macosx (<< 10.5.0-1) Type: nosource CompileScript: echo "nothing to be done" InstallScript: << #!/bin/sh -ex install -d %i/lib/system-openssl/include install -d %i/lib/system-openssl/lib install -d %i/lib/system-openssl/lib/pkgconfig ln -sf /usr/include/openssl %i/lib/system-openssl/include/ ln -sf /usr/lib/libcrypto.dylib %i/lib/system-openssl/lib/ ln -sf /usr/lib/libssl.dylib %i/lib/system-openssl/lib/ sed -e 's,prefix=/usr,prefix=%p/lib/system-openssl,' /usr/lib/pkgconfig/openssl.pc > %i/lib/system-openssl/lib/pkgconfig/openssl.pc << Description: Placeholder to force the use of the system SSL DescDetail: << This package is meant to be used by packagers for the purpose of linking explicitly against the Apple-provided system version of OpenSSL. Maintainers: to use this package when building, you will need to set one or more of the following: CPPFLAGS/CFLAGS/CXXFLAGS: -I%p/lib/system-openssl/include LDFLAGS/LIBS: -L%p/lib/system-openssl/lib PKG_CONFIG_PATH: %p/lib/system-openssl/lib/pkgconfig It is recommended that you double-check otool -L on the program you are moving to this package. It is very easy to still end up accidentally linking against the Fink versions of these libraries. For more information on using this package, see http://wiki.finkproject.org/index.php/Fink:Policy:system-openssl << Maintainer: Benjamin Reed Homepage: http://wiki.finkproject.org/index.php/Fink:Policy:system-openssl License: OSI-Approved