Skip to content

Commit 7663644

Browse files
committed
add openssl
1 parent 3c59c07 commit 7663644

File tree

5 files changed

+52
-0
lines changed

5 files changed

+52
-0
lines changed

contrib/src/openssl/SHA512SUMS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
e4a68857b509bbaa5c66bf43491541e309e37f136816a1380664488420805edc74dc7f94c6318e34e077b29d53d060f971ba69b9efcfa0da9605934b2be45ef4 openssl-0.9.8zc.tar.gz

contrib/src/openssl/rules.mak

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# OPENSSL
2+
OPENSSL_VERSION := 0.9.8zc
3+
OPENSSL_URL := https://www.openssl.org/source/openssl-$(OPENSSL_VERSION).tar.gz
4+
5+
#FIXME: we don't want to use scripts to determine which libraries should be
6+
# included, because there is bug in cross compile
7+
8+
# PKGS += openssl
9+
# ifeq ($(call need_pkg,"openssl"),)
10+
# PKGS_FOUND += openssl
11+
# endif
12+
13+
14+
$(TARBALLS)/openssl-$(OPENSSL_VERSION).tar.gz:
15+
$(call download,$(OPENSSL_URL))
16+
17+
.sum-openssl: openssl-$(OPENSSL_VERSION).tar.gz
18+
19+
openssl: openssl-$(OPENSSL_VERSION).tar.gz .sum-openssl
20+
$(UNPACK)
21+
$(MOVE)
22+
23+
.openssl: openssl
24+
cd $< && ./config no-shared --openssldir=$(PREFIX)
25+
cd $< && $(MAKE) $(HOSTVARS)
26+
cd $< && $(MAKE) install
27+
touch $@

contrib/src/png/rules.mak

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ $(TARBALLS)/libpng-$(PNG_VERSION).tar.xz:
1717
png: libpng-$(PNG_VERSION).tar.xz .sum-png
1818
$(UNPACK)
1919
$(MOVE)
20+
2021
ifndef HAVE_ANDROID
2122
DEPS_png = zlib $(DEPS_zlib)
2223
endif

contrib/src/websockets/SHA512SUMS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
7b7be6ad94d3864d494cefd8561b8008fb992b72fe79de5ac132133cc8e5afd5a7b599df91aa209d322db0d4c8ba953eb5da08b260ee3ffa38f14660eedbd5a0 libwebsockets-1.3-chrome37-firefox30.zip

contrib/src/websockets/rules.mak

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# websockets
2+
3+
WEBSOCKETS_VERSION := v1.3-chrome37-firefox30.zip
4+
WEBSOCKETS_URL := https://github.com/warmcat/libwebsockets/archive/$(WEBSOCKETS_VERSION)
5+
6+
$(TARBALLS)/libwebsockets-1.3-chrome37-firefox30.zip:
7+
$(call download,$(WEBSOCKETS_URL))
8+
9+
.sum-websockets: libwebsockets-1.3-chrome37-firefox30.zip
10+
11+
websockets: libwebsockets-1.3-chrome37-firefox30.zip .sum-websockets
12+
$(UNPACK)
13+
$(MOVE)
14+
15+
DEPS_websockets = zlib $(DEPS_zlib)
16+
17+
DEPS_websockets = openssl $(DEPS_openssl)
18+
19+
.websockets: websockets .zlib .openssl toolchain.cmake
20+
cd $< && $(HOSTVARS) $(CMAKE) -DCMAKE_BUILD_TYPE=Release
21+
cd $< && $(MAKE) install
22+
touch $@

0 commit comments

Comments
 (0)