summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMCApollo <34170230+MCApollo@users.noreply.github.com>2019-05-06 15:13:30 +0000
committerMCApollo <34170230+MCApollo@users.noreply.github.com>2019-06-30 22:14:20 +0000
commit33fff3ab9dfd2ea852ef98846f958b4dd0f84617 (patch)
tree81721edf23f48e9cb53815a489902cc19b7f995b
parenta25b5834bb0ce2e4642cc487525a41e3e1127d43 (diff)
Added switch-lan-play.
-rw-r--r--data/switch-lan-play/_metadata/description1
-rw-r--r--data/switch-lan-play/_metadata/in.1443.000
l---------data/switch-lan-play/_metadata/libpcap1.dep1
l---------data/switch-lan-play/_metadata/maintainer1
-rw-r--r--data/switch-lan-play/_metadata/name1
-rw-r--r--data/switch-lan-play/_metadata/priority1
-rw-r--r--data/switch-lan-play/_metadata/role1
-rw-r--r--data/switch-lan-play/_metadata/section1
-rw-r--r--data/switch-lan-play/_metadata/tags1
-rw-r--r--data/switch-lan-play/_metadata/version1
-rw-r--r--data/switch-lan-play/make.sh25
-rw-r--r--data/switch-lan-play/v0.1.0+f62b.tar.gzbin0 -> 4209642 bytes
12 files changed, 34 insertions, 0 deletions
diff --git a/data/switch-lan-play/_metadata/description b/data/switch-lan-play/_metadata/description
new file mode 100644
index 000000000..8f23f5e7f
--- /dev/null
+++ b/data/switch-lan-play/_metadata/description
@@ -0,0 +1 @@
+Make you and your friends play games like in a LAN (just software)
diff --git a/data/switch-lan-play/_metadata/in.1443.00 b/data/switch-lan-play/_metadata/in.1443.00
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/data/switch-lan-play/_metadata/in.1443.00
diff --git a/data/switch-lan-play/_metadata/libpcap1.dep b/data/switch-lan-play/_metadata/libpcap1.dep
new file mode 120000
index 000000000..5ea06b02d
--- /dev/null
+++ b/data/switch-lan-play/_metadata/libpcap1.dep
@@ -0,0 +1 @@
+../../libpcap1 \ No newline at end of file
diff --git a/data/switch-lan-play/_metadata/maintainer b/data/switch-lan-play/_metadata/maintainer
new file mode 120000
index 000000000..0c538aadb
--- /dev/null
+++ b/data/switch-lan-play/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/mac \ No newline at end of file
diff --git a/data/switch-lan-play/_metadata/name b/data/switch-lan-play/_metadata/name
new file mode 100644
index 000000000..17743d960
--- /dev/null
+++ b/data/switch-lan-play/_metadata/name
@@ -0,0 +1 @@
+Switch-lan-play
diff --git a/data/switch-lan-play/_metadata/priority b/data/switch-lan-play/_metadata/priority
new file mode 100644
index 000000000..134d9bc32
--- /dev/null
+++ b/data/switch-lan-play/_metadata/priority
@@ -0,0 +1 @@
+optional
diff --git a/data/switch-lan-play/_metadata/role b/data/switch-lan-play/_metadata/role
new file mode 100644
index 000000000..52b4d7301
--- /dev/null
+++ b/data/switch-lan-play/_metadata/role
@@ -0,0 +1 @@
+hacker
diff --git a/data/switch-lan-play/_metadata/section b/data/switch-lan-play/_metadata/section
new file mode 100644
index 000000000..8708e4b54
--- /dev/null
+++ b/data/switch-lan-play/_metadata/section
@@ -0,0 +1 @@
+Networking
diff --git a/data/switch-lan-play/_metadata/tags b/data/switch-lan-play/_metadata/tags
new file mode 100644
index 000000000..ad5d50831
--- /dev/null
+++ b/data/switch-lan-play/_metadata/tags
@@ -0,0 +1 @@
+purpose::console
diff --git a/data/switch-lan-play/_metadata/version b/data/switch-lan-play/_metadata/version
new file mode 100644
index 000000000..cdf7fa1e1
--- /dev/null
+++ b/data/switch-lan-play/_metadata/version
@@ -0,0 +1 @@
+0.1.0+f62b
diff --git a/data/switch-lan-play/make.sh b/data/switch-lan-play/make.sh
new file mode 100644
index 000000000..3d9fbbd91
--- /dev/null
+++ b/data/switch-lan-play/make.sh
@@ -0,0 +1,25 @@
+pkg:setup
+mkdir build && cd build
+cat >iphoneos_toolchain.cmake << EOF
+set(CMAKE_BUILD_TYPE Release)
+set(CMAKE_SYSTEM_NAME Darwin) # Tell CMake we're cross-compiling
+set(CMAKE_CROSSCOMPILING true)
+#include(CMakeForceCompiler)
+# Prefix detection only works with compiler id "GNU"
+# CMake will look for prefixed g++, cpp, ld, etc. automatically
+set(CMAKE_SYSTEM_PROCESSOR aarch64)
+set(triple ${PKG_TARG})
+set(CMAKE_FIND_ROOT_PATH $(echo ${PKG_PATH} | sed -e s/:/' '/g))
+set(CMAKE_LIBRARY_PATH $(echo ${LIBRARY_PATH} | sed -e s/:/' '/g))
+set(CMAKE_INCLUDE_PATH $(echo ${INCLUDE_PATH} | sed -e s/:/' '/g))
+set(CMAKE_C_COMPILER ${PKG_TARG}-gcc)
+set(CMAKE_CXX_COMPILER ${PKG_TARG}-g++)
+set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
+set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
+set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
+set(CMAKE_C_FLAGS_RELEASE "-O2 -DNDEBUG ")
+set(CMAKE_CXX_FLAGS_RELEASE "-O2 -DNDEBUG ")
+EOF
+cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=iphoneos_toolchain.cmake -DCMAKE_INSTALL_PREFIX="${PKG_TAPF}"
+pkg:make
+pkg:install
diff --git a/data/switch-lan-play/v0.1.0+f62b.tar.gz b/data/switch-lan-play/v0.1.0+f62b.tar.gz
new file mode 100644
index 000000000..1d37378a7
--- /dev/null
+++ b/data/switch-lan-play/v0.1.0+f62b.tar.gz
Binary files differ