diff options
Diffstat (limited to 'data/libzip')
-rw-r--r-- | data/libzip/_metadata/description | 1 | ||||
l--------- | data/libzip/_metadata/license | 1 | ||||
l--------- | data/libzip/_metadata/maintainer | 1 | ||||
-rw-r--r-- | data/libzip/_metadata/priority | 1 | ||||
-rw-r--r-- | data/libzip/_metadata/section | 1 | ||||
-rw-r--r-- | data/libzip/_metadata/tags | 1 | ||||
-rw-r--r-- | data/libzip/_metadata/version | 1 | ||||
-rw-r--r-- | data/libzip/libzip-1.5.1.tar.xz | bin | 0 -> 717908 bytes | |||
-rw-r--r-- | data/libzip/make.sh | 24 |
9 files changed, 31 insertions, 0 deletions
diff --git a/data/libzip/_metadata/description b/data/libzip/_metadata/description new file mode 100644 index 000000000..325f94816 --- /dev/null +++ b/data/libzip/_metadata/description @@ -0,0 +1 @@ +a C library for reading, creating, and modifying zip archives. diff --git a/data/libzip/_metadata/license b/data/libzip/_metadata/license new file mode 120000 index 000000000..141b2e41b --- /dev/null +++ b/data/libzip/_metadata/license @@ -0,0 +1 @@ +../../../licenses/lgpl-3
\ No newline at end of file diff --git a/data/libzip/_metadata/maintainer b/data/libzip/_metadata/maintainer new file mode 120000 index 000000000..573d7ebef --- /dev/null +++ b/data/libzip/_metadata/maintainer @@ -0,0 +1 @@ +../../../people/sbingner
\ No newline at end of file diff --git a/data/libzip/_metadata/priority b/data/libzip/_metadata/priority new file mode 100644 index 000000000..134d9bc32 --- /dev/null +++ b/data/libzip/_metadata/priority @@ -0,0 +1 @@ +optional diff --git a/data/libzip/_metadata/section b/data/libzip/_metadata/section new file mode 100644 index 000000000..e0eb96881 --- /dev/null +++ b/data/libzip/_metadata/section @@ -0,0 +1 @@ +Development diff --git a/data/libzip/_metadata/tags b/data/libzip/_metadata/tags new file mode 100644 index 000000000..91c01ad11 --- /dev/null +++ b/data/libzip/_metadata/tags @@ -0,0 +1 @@ +purpose::console, role::developer diff --git a/data/libzip/_metadata/version b/data/libzip/_metadata/version new file mode 100644 index 000000000..26ca59460 --- /dev/null +++ b/data/libzip/_metadata/version @@ -0,0 +1 @@ +1.5.1 diff --git a/data/libzip/libzip-1.5.1.tar.xz b/data/libzip/libzip-1.5.1.tar.xz Binary files differnew file mode 100644 index 000000000..e974522c2 --- /dev/null +++ b/data/libzip/libzip-1.5.1.tar.xz diff --git a/data/libzip/make.sh b/data/libzip/make.sh new file mode 100644 index 000000000..a410fb73a --- /dev/null +++ b/data/libzip/make.sh @@ -0,0 +1,24 @@ +pkg:setup +mkdir build +cd build +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 .. +pkg:make +pkg:install |