diff options
author | Sam Bingner <sam@bingner.com> | 2021-03-05 00:21:09 -1000 |
---|---|---|
committer | Sam Bingner <sam@bingner.com> | 2021-03-05 00:22:35 -1000 |
commit | 4f6d0fdd123aefcc1ff5c2bc6fcfe7778de0799c (patch) | |
tree | a38d3ea56d71ec07459f22fc34fde132b40089d1 | |
parent | 76a8eb1c6d6d806e50798d4d23c6891cf317f156 (diff) |
Add brotli
-rw-r--r-- | data/_brotli/_metadata/brotli/description | 4 | ||||
-rw-r--r-- | data/_brotli/_metadata/homepage | 1 | ||||
-rw-r--r-- | data/_brotli/_metadata/in.1200.00 | 0 | ||||
-rw-r--r-- | data/_brotli/_metadata/in.1443.00 | 0 | ||||
-rw-r--r-- | data/_brotli/_metadata/libbrotli-dev/description | 4 | ||||
-rw-r--r-- | data/_brotli/_metadata/libbrotli1/description | 4 | ||||
-rw-r--r-- | data/_brotli/_metadata/libbrotli1/section | 1 | ||||
l--------- | data/_brotli/_metadata/license | 1 | ||||
l--------- | data/_brotli/_metadata/maintainer | 1 | ||||
-rw-r--r-- | data/_brotli/_metadata/priority | 1 | ||||
-rw-r--r-- | data/_brotli/_metadata/role | 1 | ||||
-rw-r--r-- | data/_brotli/_metadata/section | 1 | ||||
-rw-r--r-- | data/_brotli/_metadata/tags | 1 | ||||
-rw-r--r-- | data/_brotli/_metadata/version | 1 | ||||
-rw-r--r-- | data/_brotli/brotli.install | 1 | ||||
-rw-r--r-- | data/_brotli/brotli_1.0.7-2+deb10u1.debian.tar.xz | bin | 0 -> 4472 bytes | |||
-rw-r--r-- | data/_brotli/brotli_1.0.7.orig.tar.gz | bin | 0 -> 23827908 bytes | |||
-rw-r--r-- | data/_brotli/libbrotli-dev.install | 3 | ||||
-rw-r--r-- | data/_brotli/libbrotli1.install | 1 | ||||
-rw-r--r-- | data/_brotli/make.sh | 23 | ||||
-rw-r--r-- | licenses/mit | 19 |
21 files changed, 68 insertions, 0 deletions
diff --git a/data/_brotli/_metadata/brotli/description b/data/_brotli/_metadata/brotli/description new file mode 100644 index 000000000..7df2ba6c6 --- /dev/null +++ b/data/_brotli/_metadata/brotli/description @@ -0,0 +1,4 @@ +lossless compression algorithm and format (command line utility) +Brotli is a generic-purpose lossless compression algorithm that compresses data using a combination of a modern variant of the LZ77 algorithm, Huffman coding and 2nd order context modeling, with a compression ratio comparable to the best currently available general-purpose compression methods. It is similar in speed with deflate but offers more dense compression. + +This package installs a command line utility. diff --git a/data/_brotli/_metadata/homepage b/data/_brotli/_metadata/homepage new file mode 100644 index 000000000..707ef0259 --- /dev/null +++ b/data/_brotli/_metadata/homepage @@ -0,0 +1 @@ +https://github.com/google/brotli diff --git a/data/_brotli/_metadata/in.1200.00 b/data/_brotli/_metadata/in.1200.00 new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/data/_brotli/_metadata/in.1200.00 diff --git a/data/_brotli/_metadata/in.1443.00 b/data/_brotli/_metadata/in.1443.00 new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/data/_brotli/_metadata/in.1443.00 diff --git a/data/_brotli/_metadata/libbrotli-dev/description b/data/_brotli/_metadata/libbrotli-dev/description new file mode 100644 index 000000000..11f9f466b --- /dev/null +++ b/data/_brotli/_metadata/libbrotli-dev/description @@ -0,0 +1,4 @@ +lossless compression algorithm and format (development files) +Brotli is a generic-purpose lossless compression algorithm that compresses data using a combination of a modern variant of the LZ77 algorithm, Huffman coding and 2nd order context modeling, with a compression ratio comparable to the best currently available general-purpose compression methods. It is similar in speed with deflate but offers more dense compression. + +This package installs development files. diff --git a/data/_brotli/_metadata/libbrotli1/description b/data/_brotli/_metadata/libbrotli1/description new file mode 100644 index 000000000..6d0a714d2 --- /dev/null +++ b/data/_brotli/_metadata/libbrotli1/description @@ -0,0 +1,4 @@ +lossless compression algorithm and format (shared libraries) +Brotli is a generic-purpose lossless compression algorithm that compresses data using a combination of a modern variant of the LZ77 algorithm, Huffman coding and 2nd order context modeling, with a compression ratio comparable to the best currently available general-purpose compression methods. It is similar in speed with deflate but offers more dense compression. + +This package installs shared libraries. diff --git a/data/_brotli/_metadata/libbrotli1/section b/data/_brotli/_metadata/libbrotli1/section new file mode 100644 index 000000000..00b394251 --- /dev/null +++ b/data/_brotli/_metadata/libbrotli1/section @@ -0,0 +1 @@ +System diff --git a/data/_brotli/_metadata/license b/data/_brotli/_metadata/license new file mode 120000 index 000000000..f60f6eddb --- /dev/null +++ b/data/_brotli/_metadata/license @@ -0,0 +1 @@ +../../../licenses/mit
\ No newline at end of file diff --git a/data/_brotli/_metadata/maintainer b/data/_brotli/_metadata/maintainer new file mode 120000 index 000000000..573d7ebef --- /dev/null +++ b/data/_brotli/_metadata/maintainer @@ -0,0 +1 @@ +../../../people/sbingner
\ No newline at end of file diff --git a/data/_brotli/_metadata/priority b/data/_brotli/_metadata/priority new file mode 100644 index 000000000..134d9bc32 --- /dev/null +++ b/data/_brotli/_metadata/priority @@ -0,0 +1 @@ +optional diff --git a/data/_brotli/_metadata/role b/data/_brotli/_metadata/role new file mode 100644 index 000000000..8d0320866 --- /dev/null +++ b/data/_brotli/_metadata/role @@ -0,0 +1 @@ +developer diff --git a/data/_brotli/_metadata/section b/data/_brotli/_metadata/section new file mode 100644 index 000000000..888e3e192 --- /dev/null +++ b/data/_brotli/_metadata/section @@ -0,0 +1 @@ +Archiving diff --git a/data/_brotli/_metadata/tags b/data/_brotli/_metadata/tags new file mode 100644 index 000000000..ad5d50831 --- /dev/null +++ b/data/_brotli/_metadata/tags @@ -0,0 +1 @@ +purpose::console diff --git a/data/_brotli/_metadata/version b/data/_brotli/_metadata/version new file mode 100644 index 000000000..238d6e882 --- /dev/null +++ b/data/_brotli/_metadata/version @@ -0,0 +1 @@ +1.0.7 diff --git a/data/_brotli/brotli.install b/data/_brotli/brotli.install new file mode 100644 index 000000000..415f082dd --- /dev/null +++ b/data/_brotli/brotli.install @@ -0,0 +1 @@ +/usr/bin diff --git a/data/_brotli/brotli_1.0.7-2+deb10u1.debian.tar.xz b/data/_brotli/brotli_1.0.7-2+deb10u1.debian.tar.xz Binary files differnew file mode 100644 index 000000000..adac4f06c --- /dev/null +++ b/data/_brotli/brotli_1.0.7-2+deb10u1.debian.tar.xz diff --git a/data/_brotli/brotli_1.0.7.orig.tar.gz b/data/_brotli/brotli_1.0.7.orig.tar.gz Binary files differnew file mode 100644 index 000000000..dad2c1c89 --- /dev/null +++ b/data/_brotli/brotli_1.0.7.orig.tar.gz diff --git a/data/_brotli/libbrotli-dev.install b/data/_brotli/libbrotli-dev.install new file mode 100644 index 000000000..25fd5120c --- /dev/null +++ b/data/_brotli/libbrotli-dev.install @@ -0,0 +1,3 @@ +/usr/include +/usr/lib/libbrotli!(*.*).dylib +/usr/lib/pkgconfig diff --git a/data/_brotli/libbrotli1.install b/data/_brotli/libbrotli1.install new file mode 100644 index 000000000..d053c4439 --- /dev/null +++ b/data/_brotli/libbrotli1.install @@ -0,0 +1 @@ +/usr/lib/libbrotli*.*.dylib diff --git a/data/_brotli/make.sh b/data/_brotli/make.sh new file mode 100644 index 000000000..40695760b --- /dev/null +++ b/data/_brotli/make.sh @@ -0,0 +1,23 @@ +pkg:setup +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 ${PKG_TARG%%-*}) +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 . +pkg:make +pkg:install +subpkg:stage diff --git a/licenses/mit b/licenses/mit new file mode 100644 index 000000000..14e2e075d --- /dev/null +++ b/licenses/mit @@ -0,0 +1,19 @@ +Copyright (c) <year> <copyright holders> + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. |