summaryrefslogtreecommitdiff
path: root/data/libutf8proc
diff options
context:
space:
mode:
Diffstat (limited to 'data/libutf8proc')
-rw-r--r--data/libutf8proc/_metadata/description1
-rw-r--r--data/libutf8proc/_metadata/homepage1
l---------data/libutf8proc/_metadata/license1
l---------data/libutf8proc/_metadata/maintainer1
-rw-r--r--data/libutf8proc/_metadata/priority1
-rw-r--r--data/libutf8proc/_metadata/role1
-rw-r--r--data/libutf8proc/_metadata/section1
-rw-r--r--data/libutf8proc/_metadata/tags1
-rw-r--r--data/libutf8proc/_metadata/version1
-rw-r--r--data/libutf8proc/make.sh24
-rw-r--r--data/libutf8proc/utf8proc-2.2.0.tar.gzbin0 -> 156334 bytes
11 files changed, 33 insertions, 0 deletions
diff --git a/data/libutf8proc/_metadata/description b/data/libutf8proc/_metadata/description
new file mode 100644
index 000000000..f21e00186
--- /dev/null
+++ b/data/libutf8proc/_metadata/description
@@ -0,0 +1 @@
+a small, clean C library that provides Unicode normalization, case-folding, and other operations for data in the UTF-8 encoding
diff --git a/data/libutf8proc/_metadata/homepage b/data/libutf8proc/_metadata/homepage
new file mode 100644
index 000000000..0e88fc9da
--- /dev/null
+++ b/data/libutf8proc/_metadata/homepage
@@ -0,0 +1 @@
+http://juliastrings.github.io/utf8proc/
diff --git a/data/libutf8proc/_metadata/license b/data/libutf8proc/_metadata/license
new file mode 120000
index 000000000..8a4bc1936
--- /dev/null
+++ b/data/libutf8proc/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/modified-bsd \ No newline at end of file
diff --git a/data/libutf8proc/_metadata/maintainer b/data/libutf8proc/_metadata/maintainer
new file mode 120000
index 000000000..573d7ebef
--- /dev/null
+++ b/data/libutf8proc/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/sbingner \ No newline at end of file
diff --git a/data/libutf8proc/_metadata/priority b/data/libutf8proc/_metadata/priority
new file mode 100644
index 000000000..134d9bc32
--- /dev/null
+++ b/data/libutf8proc/_metadata/priority
@@ -0,0 +1 @@
+optional
diff --git a/data/libutf8proc/_metadata/role b/data/libutf8proc/_metadata/role
new file mode 100644
index 000000000..8d0320866
--- /dev/null
+++ b/data/libutf8proc/_metadata/role
@@ -0,0 +1 @@
+developer
diff --git a/data/libutf8proc/_metadata/section b/data/libutf8proc/_metadata/section
new file mode 100644
index 000000000..e0eb96881
--- /dev/null
+++ b/data/libutf8proc/_metadata/section
@@ -0,0 +1 @@
+Development
diff --git a/data/libutf8proc/_metadata/tags b/data/libutf8proc/_metadata/tags
new file mode 100644
index 000000000..a8928cec8
--- /dev/null
+++ b/data/libutf8proc/_metadata/tags
@@ -0,0 +1 @@
+purpose::library
diff --git a/data/libutf8proc/_metadata/version b/data/libutf8proc/_metadata/version
new file mode 100644
index 000000000..ccbccc3dc
--- /dev/null
+++ b/data/libutf8proc/_metadata/version
@@ -0,0 +1 @@
+2.2.0
diff --git a/data/libutf8proc/make.sh b/data/libutf8proc/make.sh
new file mode 100644
index 000000000..5910adb0a
--- /dev/null
+++ b/data/libutf8proc/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 -j8
+pkg:install
diff --git a/data/libutf8proc/utf8proc-2.2.0.tar.gz b/data/libutf8proc/utf8proc-2.2.0.tar.gz
new file mode 100644
index 000000000..39e429383
--- /dev/null
+++ b/data/libutf8proc/utf8proc-2.2.0.tar.gz
Binary files differ