Commit 725db369 authored by Felix Paul Kühne's avatar Felix Paul Kühne Committed by Jean-Baptiste Kempf

extras/tools: added openssl needed for native compilation on Darwin 9 / OS X 10.5

(cherry picked from commit 0921213a)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 68eeac8e
...@@ -25,3 +25,6 @@ TAR_URL=$(GNU)/tar/tar-$(TAR_VERSION).tar.bz2 ...@@ -25,3 +25,6 @@ TAR_URL=$(GNU)/tar/tar-$(TAR_VERSION).tar.bz2
XZ_VERSION=5.0.3 XZ_VERSION=5.0.3
XZ_URL=http://tukaani.org/xz/xz-$(XZ_VERSION).tar.bz2 XZ_URL=http://tukaani.org/xz/xz-$(XZ_VERSION).tar.bz2
OPENSSL_VERSION=1.0.0e
OPENSSL_URL=http://www.openssl.org/source/openssl-$(OPENSSL_VERSION).tar.gz
...@@ -174,6 +174,24 @@ CLEAN_FILE += .pkg-config ...@@ -174,6 +174,24 @@ CLEAN_FILE += .pkg-config
CLEAN_PKG += pkgconfig CLEAN_PKG += pkgconfig
DISTCLEAN_PKG += pkg-config-$(PKGCFG_VERSION).tar.gz DISTCLEAN_PKG += pkg-config-$(PKGCFG_VERSION).tar.gz
# openssl
# we need to use -j1 here, since otherwise compilation fails (at least on Darwin)
openssl-$(OPENSSL_VERSION).tar.gz:
$(call download,$(OPENSSL_URL))
openssl: openssl-$(OPENSSL_VERSION).tar.gz
$(UNPACK)
$(MOVE)
.openssl: openssl
(cd openssl; ./config --prefix=$(PREFIX) no-shared no-zlib && make -j1 && make test && make install)
touch $@
CLEAN_FILE += .openssl
CLEAN_PKG += openssl
DISTCLEAN_PKG += openssl-$(OPENSSL_VERSION).tar.gz
# #
# #
# #
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment