This repository was archived by the owner on Mar 30, 2019. It is now read-only.
File tree 1 file changed +8
-4
lines changed
1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 1
1
PROJECTDIR =$(shell pwd)
2
2
3
- BUILD_NUMBER =2
3
+ BUILD_NUMBER =3
4
4
5
5
# Version of packages that will be compiled by this meta-package
6
6
PYTHON_VERSION =3.4.2
7
- OPENSSL_VERSION =1.0.2c
7
+
8
+ OPENSSL_VERSION_NUMBER =1.0.2
9
+ OPENSSL_REVISION =d
10
+ OPENSSL_VERSION =$(OPENSSL_VERSION_NUMBER )$(OPENSSL_REVISION )
8
11
9
12
# 32 bit iOS Simulator build commands and flags
10
13
IOS_SIMULATOR_SDK_ROOT =$(shell xcrun --sdk iphonesimulator --show-sdk-path)
@@ -66,7 +69,8 @@ clean-OpenSSL:
66
69
67
70
# Download original OpenSSL source code archive.
68
71
downloads/openssl-$(OPENSSL_VERSION ) .tgz : downloads
69
- curl -L http://openssl.org/source/openssl-$(OPENSSL_VERSION ) .tar.gz > downloads/openssl-$(OPENSSL_VERSION ) .tgz
72
+ -if [ ! -e downloads/openssl-$( OPENSSL_VERSION) .tgz ]; then curl --fail -L http://openssl.org/source/openssl-$(OPENSSL_VERSION ) .tar.gz -o downloads/openssl-$(OPENSSL_VERSION ) .tgz; fi
73
+ if [ ! -e downloads/openssl-$( OPENSSL_VERSION) .tgz ]; then curl --fail -L http://openssl.org/source/old/$( OPENSSL_VERSION_NUMBER) /openssl-$( OPENSSL_VERSION) .tar.gz -o downloads/openssl-$( OPENSSL_VERSION) .tgz; fi
70
74
71
75
build/OpenSSL/ios-simulator-i386/libssl.a : build downloads/openssl-$(OPENSSL_VERSION ) .tgz
72
76
# Unpack sources
@@ -250,7 +254,7 @@ clean-Python:
250
254
251
255
# Download original Python source code archive.
252
256
downloads/Python-$(PYTHON_VERSION ) .tgz : downloads
253
- curl -L https://www.python.org/ftp/python/$(PYTHON_VERSION ) /Python-$(PYTHON_VERSION ) .tgz > downloads/Python-$(PYTHON_VERSION ) .tgz
257
+ if [ ! -e downloads/Python- $( PYTHON_VERSION ) .tgz ] ; then curl -L https://www.python.org/ftp/python/$( PYTHON_VERSION) /Python-$( PYTHON_VERSION) .tgz > downloads/Python-$( PYTHON_VERSION) .tgz; fi
254
258
255
259
# build/Python-$(PYTHON_VERSION)/Python.framework: build dist/OpenSSL.framework downloads/Python-$(PYTHON_VERSION).tgz
256
260
build/Python-$(PYTHON_VERSION ) /Python.framework : build downloads/Python-$(PYTHON_VERSION ) .tgz
You can’t perform that action at this time.
0 commit comments