summaryrefslogtreecommitdiff
path: root/data/lz4
diff options
context:
space:
mode:
Diffstat (limited to 'data/lz4')
-rw-r--r--data/lz4/_metadata/description1
-rw-r--r--data/lz4/_metadata/homepage1
l---------data/lz4/_metadata/license1
-rw-r--r--data/lz4/_metadata/name1
-rw-r--r--data/lz4/_metadata/priority1
-rw-r--r--data/lz4/_metadata/role1
-rw-r--r--data/lz4/_metadata/section1
-rw-r--r--data/lz4/_metadata/tags1
-rw-r--r--data/lz4/_metadata/version1
-rw-r--r--data/lz4/make.sh23
-rw-r--r--data/lz4/v1.7.5.tar.gzbin0 -> 208019 bytes
11 files changed, 32 insertions, 0 deletions
diff --git a/data/lz4/_metadata/description b/data/lz4/_metadata/description
new file mode 100644
index 000000000..547cd1b2b
--- /dev/null
+++ b/data/lz4/_metadata/description
@@ -0,0 +1 @@
+Extremely Fast Compression algorithm
diff --git a/data/lz4/_metadata/homepage b/data/lz4/_metadata/homepage
new file mode 100644
index 000000000..57f36586c
--- /dev/null
+++ b/data/lz4/_metadata/homepage
@@ -0,0 +1 @@
+http://tukaani.org/lzma/
diff --git a/data/lz4/_metadata/license b/data/lz4/_metadata/license
new file mode 120000
index 000000000..af4224931
--- /dev/null
+++ b/data/lz4/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/gpl-3 \ No newline at end of file
diff --git a/data/lz4/_metadata/name b/data/lz4/_metadata/name
new file mode 100644
index 000000000..fdcbaf78b
--- /dev/null
+++ b/data/lz4/_metadata/name
@@ -0,0 +1 @@
+LZ4
diff --git a/data/lz4/_metadata/priority b/data/lz4/_metadata/priority
new file mode 100644
index 000000000..ea5b3d7ee
--- /dev/null
+++ b/data/lz4/_metadata/priority
@@ -0,0 +1 @@
+important
diff --git a/data/lz4/_metadata/role b/data/lz4/_metadata/role
new file mode 100644
index 000000000..52b4d7301
--- /dev/null
+++ b/data/lz4/_metadata/role
@@ -0,0 +1 @@
+hacker
diff --git a/data/lz4/_metadata/section b/data/lz4/_metadata/section
new file mode 100644
index 000000000..888e3e192
--- /dev/null
+++ b/data/lz4/_metadata/section
@@ -0,0 +1 @@
+Archiving
diff --git a/data/lz4/_metadata/tags b/data/lz4/_metadata/tags
new file mode 100644
index 000000000..ad5d50831
--- /dev/null
+++ b/data/lz4/_metadata/tags
@@ -0,0 +1 @@
+purpose::console
diff --git a/data/lz4/_metadata/version b/data/lz4/_metadata/version
new file mode 100644
index 000000000..6a126f402
--- /dev/null
+++ b/data/lz4/_metadata/version
@@ -0,0 +1 @@
+1.7.5
diff --git a/data/lz4/make.sh b/data/lz4/make.sh
new file mode 100644
index 000000000..654c78332
--- /dev/null
+++ b/data/lz4/make.sh
@@ -0,0 +1,23 @@
+pkg:setup
+cd contrib/cmake_unofficial
+cat >iphoneos_toolchain.cmake <<EOF
+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)
+EOF
+
+cmake -j8 -DCMAKE_TOOLCHAIN_FILE=iphoneos_toolchain.cmake -DCMAKE_LOCALSTATEDIR="/private/var" -DCMAKE_INSTALL_NAME_DIR="/usr/lib" -DCMAKE_INSTALL_RPATH="/usr/" -DCMAKE_OSX_SYSROOT="${PKG_ROOT}" -DCMAKE_INSTALL_PREFIX="/usr/" -DCURRENT_VENDOR=debian -DUSE_NLS=0 -DWITH_DOC=0 .
+make
+pkg:install
diff --git a/data/lz4/v1.7.5.tar.gz b/data/lz4/v1.7.5.tar.gz
new file mode 100644
index 000000000..4890f714f
--- /dev/null
+++ b/data/lz4/v1.7.5.tar.gz
Binary files differ