From 33fff3ab9dfd2ea852ef98846f958b4dd0f84617 Mon Sep 17 00:00:00 2001 From: MCApollo <34170230+MCApollo@users.noreply.github.com> Date: Mon, 6 May 2019 15:13:30 +0000 Subject: Added switch-lan-play. --- data/switch-lan-play/_metadata/description | 1 + data/switch-lan-play/_metadata/in.1443.00 | 0 data/switch-lan-play/_metadata/libpcap1.dep | 1 + data/switch-lan-play/_metadata/maintainer | 1 + data/switch-lan-play/_metadata/name | 1 + data/switch-lan-play/_metadata/priority | 1 + data/switch-lan-play/_metadata/role | 1 + data/switch-lan-play/_metadata/section | 1 + data/switch-lan-play/_metadata/tags | 1 + data/switch-lan-play/_metadata/version | 1 + data/switch-lan-play/make.sh | 25 +++++++++++++++++++++++++ data/switch-lan-play/v0.1.0+f62b.tar.gz | Bin 0 -> 4209642 bytes 12 files changed, 34 insertions(+) create mode 100644 data/switch-lan-play/_metadata/description create mode 100644 data/switch-lan-play/_metadata/in.1443.00 create mode 120000 data/switch-lan-play/_metadata/libpcap1.dep create mode 120000 data/switch-lan-play/_metadata/maintainer create mode 100644 data/switch-lan-play/_metadata/name create mode 100644 data/switch-lan-play/_metadata/priority create mode 100644 data/switch-lan-play/_metadata/role create mode 100644 data/switch-lan-play/_metadata/section create mode 100644 data/switch-lan-play/_metadata/tags create mode 100644 data/switch-lan-play/_metadata/version create mode 100644 data/switch-lan-play/make.sh create mode 100644 data/switch-lan-play/v0.1.0+f62b.tar.gz 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 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 Binary files /dev/null and b/data/switch-lan-play/v0.1.0+f62b.tar.gz differ -- cgit v1.2.3