the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: system-openssl-dev
Epoch: 1
Version: 0.9.7
Revision: 8
BuildDependsOnly: true
Depends: macosx (>= 10.3.0-1), macosx (<< 10.6.0-1)
Distribution: 10.4, 10.5
Conflicts: openssl-dev, openssl097-dev, openssl098-dev, openssl100-dev
Replaces: openssl-dev, openssl097-dev, openssl098-dev, openssl100-dev
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 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 and
assuring that no fink-supplied OpenSSL library package is visible to
normal compiler calls.
<<
DescUsage: <<
You may 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
and/or various configuration flags. You might also be able to rely on
the compiler finding the files in /usr without additional flags needed
if you use a BuildDepends specifying >= 1:0-1 to make sure no Fink
versions of the openssl headers are installed.
For more information on using this package, see
http://wiki.finkproject.org/index.php/Fink:Policy:system-openssl
<<
Maintainer: Fink Core Group
Homepage: http://wiki.finkproject.org/index.php/Fink:Policy:system-openssl
License: OSI-Approved