File tree Expand file tree Collapse file tree 7 files changed +34
-10
lines changed Expand file tree Collapse file tree 7 files changed +34
-10
lines changed Original file line number Diff line number Diff line change @@ -30,9 +30,9 @@ cfg_armv7_toolchain_bin="${ANDROID_NDK}/toolchains/arm-linux-androideabi-${cfg_d
30
30
31
31
# build arches and build libraries
32
32
cfg_all_supported_arches =(" arm" " armv7" " x86" " arm64" )
33
- cfg_all_supported_libraries =(" png" " zlib" " lua" " luajit" " websockets" " curl" " freetype" " jpeg" " tiff" " webp" " chipmunk" " openssl" " edtaa3func" " xxhash" " xxtea" " convertutf" " flatbuffer" " minizip" )
33
+ cfg_all_supported_libraries =(" png" " zlib" " lua" " luajit" " websockets" " curl" " freetype" " jpeg" " tiff" " webp" " chipmunk" " openssl" " edtaa3func" " xxhash" " xxtea" " convertutf" " flatbuffer" " minizip" " tinyxml " " cjson " " luasocket " )
34
34
cfg_default_arches_all =(" arm" " armv7" " x86" )
35
- cfg_default_libraries_all =(" png" " zlib" " lua" " luajit" " websockets" " curl" " freetype" " jpeg" " tiff" " webp" " chipmunk" " openssl" " edtaa3func" " xxhash" " xxtea" " convertutf" " flatbuffer" " minizip" )
35
+ cfg_default_libraries_all =(" png" " zlib" " lua" " luajit" " websockets" " curl" " freetype" " jpeg" " tiff" " webp" " chipmunk" " openssl" " edtaa3func" " xxhash" " xxtea" " convertutf" " flatbuffer" " minizip" " tinyxml " " cjson " " luasocket " )
36
36
37
37
38
38
# whether build fat library, use lipo -S create
Original file line number Diff line number Diff line change @@ -14,9 +14,9 @@ cfg_armv7s_host_machine="arm-apple-darwin"
14
14
cfg_arm64_host_machine =" arm-apple-darwin"
15
15
16
16
cfg_all_supported_arches =(" armv7" " armv7s" " i386" " arm64" " x86_64" )
17
- cfg_all_supported_libraries =(" png" " zlib" " lua" " luajit" " websockets" " curl" " freetype" " jpeg" " tiff" " webp" " chipmunk" " openssl" " edtaa3func" " xxhash" " xxtea" " convertutf" " flatbuffer" " minizip" " tinyxml2" " cjson" )
17
+ cfg_all_supported_libraries =(" png" " zlib" " lua" " luajit" " websockets" " curl" " freetype" " jpeg" " tiff" " webp" " chipmunk" " openssl" " edtaa3func" " xxhash" " xxtea" " convertutf" " flatbuffer" " minizip" " tinyxml2" " cjson" " luasocket " )
18
18
cfg_default_arches_all =(" armv7" " armv7s" " i386" " arm64" " x86_64" )
19
- cfg_default_libraries_all =(" png" " zlib" " lua" " luajit" " websockets" " curl" " freetype" " jpeg" " tiff" " webp" " chipmunk" " openssl" " edtaa3func" " xxhash" " xxtea" " convertutf" " flatbuffer" " minizip" " tinyxml2" " cjson" )
19
+ cfg_default_libraries_all =(" png" " zlib" " lua" " luajit" " websockets" " curl" " freetype" " jpeg" " tiff" " webp" " chipmunk" " openssl" " edtaa3func" " xxhash" " xxtea" " convertutf" " flatbuffer" " minizip" " tinyxml2" " cjson" " luasocket " )
20
20
21
21
22
22
cfg_build_fat_library =yes
Original file line number Diff line number Diff line change @@ -17,9 +17,9 @@ cfg_i386_host_machine="i386-linux-gnu"
17
17
18
18
19
19
cfg_all_supported_arches =(" i386" " x86_64" )
20
- cfg_all_supported_libraries =(" png" " zlib" " lua" " luajit" " websockets" " curl" " freetype" " jpeg" " tiff" " webp" " chipmunk" " openssl" " edtaa3func" " xxhash" " xxtea" " convertutf" " flatbuffer" " minizip" )
20
+ cfg_all_supported_libraries =(" png" " zlib" " lua" " luajit" " websockets" " curl" " freetype" " jpeg" " tiff" " webp" " chipmunk" " openssl" " edtaa3func" " xxhash" " xxtea" " convertutf" " flatbuffer" " minizip" " tinyxml " " cjson " " luasocket " )
21
21
cfg_default_arches_all =(" x86_64" )
22
- cfg_default_libraries_all =(" png" " zlib" " lua" " luajit" " websockets" " curl" " freetype" " jpeg" " tiff" " webp" " chipmunk" " openssl" " edtaa3func" " xxhash" " xxtea" " convertutf" " flatbuffer" " minizip" )
22
+ cfg_default_libraries_all =(" png" " zlib" " lua" " luajit" " websockets" " curl" " freetype" " jpeg" " tiff" " webp" " chipmunk" " openssl" " edtaa3func" " xxhash" " xxtea" " convertutf" " flatbuffer" " minizip" " tinyxml " " cjson " " luasocket " )
23
23
24
24
25
25
cfg_build_fat_library =no
Original file line number Diff line number Diff line change @@ -20,9 +20,9 @@ cfg_is_cross_compile=no
20
20
21
21
# build arches and build libraries
22
22
cfg_all_supported_arches =(" i386" " x86_64" )
23
- cfg_all_supported_libraries =(" png" " zlib" " lua" " luajit" " websockets" " curl" " freetype" " jpeg" " tiff" " webp" " chipmunk" " glfw" " openssl" " edtaa3func" " xxhash" " xxtea" " convertutf" " flatbuffer" " minizip" )
23
+ cfg_all_supported_libraries =(" png" " zlib" " lua" " luajit" " websockets" " curl" " freetype" " jpeg" " tiff" " webp" " chipmunk" " glfw" " openssl" " edtaa3func" " xxhash" " xxtea" " convertutf" " flatbuffer" " minizip" " tinyxml " " cjson " " luasocket " )
24
24
cfg_default_arches_all =(" x86_64" )
25
- cfg_default_libraries_all =(" png" " zlib" " lua" " luajit" " websockets" " curl" " freetype" " jpeg" " tiff" " webp" " chipmunk" " glfw" " openssl" " edtaa3func" " xxhash" " xxtea" " convertutf" " flatbuffer" " minizip" )
25
+ cfg_default_libraries_all =(" png" " zlib" " lua" " luajit" " websockets" " curl" " freetype" " jpeg" " tiff" " webp" " chipmunk" " glfw" " openssl" " edtaa3func" " xxhash" " xxtea" " convertutf" " flatbuffer" " minizip" " tinyxml " " cjson " " luasocket " )
26
26
27
27
28
28
# whether build fat library, use lipo -S create
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ flatbuffer_header_files=flatbuffers
22
22
minizip_header_files =minizip
23
23
tinyxml2_header_files =tinyxml2.h
24
24
cjson_header_files =cjson
25
+ luasocket_header_files =luasocket
25
26
26
27
27
28
# #archive prebuilt name
Original file line number Diff line number Diff line change @@ -19,9 +19,9 @@ cfg_armv7_toolchain_bin="${TIZEN_SDK}/tools/arm-linux-gnueabi-gcc-4.8/bin"
19
19
20
20
# build arches and build libraries
21
21
cfg_all_supported_arches =(" armv7" )
22
- cfg_all_supported_libraries =(" png" " zlib" " lua" " luajit" " websockets" " curl" " freetype" " jpeg" " tiff" " webp" " chipmunk" " openssl" " edtaa3func" " xxhash" " xxtea" " convertutf" " flatbuffer" " minizip" )
22
+ cfg_all_supported_libraries =(" png" " zlib" " lua" " luajit" " websockets" " curl" " freetype" " jpeg" " tiff" " webp" " chipmunk" " openssl" " edtaa3func" " xxhash" " xxtea" " convertutf" " flatbuffer" " minizip" " tinyxml " " cjson " " luasocket " )
23
23
cfg_default_arches_all =(" armv7" )
24
- cfg_default_libraries_all =(" png" " zlib" " lua" " luajit" " websockets" " curl" " freetype" " jpeg" " tiff" " webp" " chipmunk" " openssl" " edtaa3func" " xxhash" " xxtea" " convertutf" " flatbuffer" " minizip" )
24
+ cfg_default_libraries_all =(" png" " zlib" " lua" " luajit" " websockets" " curl" " freetype" " jpeg" " tiff" " webp" " chipmunk" " openssl" " edtaa3func" " xxhash" " xxtea" " convertutf" " flatbuffer" " minizip" " tinyxml " " cjson " " luasocket " )
25
25
26
26
27
27
# whether build fat library, use lipo -S create
Original file line number Diff line number Diff line change
1
+ # luasocket
2
+
3
+ LUASOCKET_GITURL := https://github.com/andyque/luasocket.git
4
+
5
+
6
+ $(TARBALLS ) /libluasocket-git.tar.xz :
7
+ $(call download_git,$(LUASOCKET_GITURL ) ,v3.0)
8
+
9
+ .sum-luasocket : libluasocket-git.tar.xz
10
+ $(warning $@ not implemented)
11
+ touch $@
12
+
13
+
14
+ luasocket : libluasocket-git.tar.xz .sum-luasocket
15
+ $(UNPACK )
16
+ $(MOVE )
17
+
18
+ DEPS_luasocket = lua $(DEPS_lua )
19
+
20
+ .luasocket : luasocket toolchain.cmake
21
+ cd $< && $(HOSTVARS ) ${CMAKE}
22
+ cd $< && $(MAKE ) VERBOSE=1 install
23
+ touch $@
You can’t perform that action at this time.
0 commit comments