Browse Source

utf8proc: Add package

android-5
Fredrik Fornwall 7 years ago
parent
commit
7284b85840
  1. 12
      packages/utf8proc/Makefile.patch
  2. 10
      packages/utf8proc/build.sh

12
packages/utf8proc/Makefile.patch

@ -0,0 +1,12 @@
diff -u -r ../utf8proc-2.1.0/Makefile ./Makefile
--- ../utf8proc-2.1.0/Makefile 2016-12-26 21:52:48.000000000 +0100
+++ ./Makefile 2018-04-17 00:01:15.028065400 +0200
@@ -34,7 +34,7 @@
endif
# installation directories (for 'make install')
-prefix=/usr/local
+prefix?=/usr/local
libdir=$(prefix)/lib
includedir=$(prefix)/include

10
packages/utf8proc/build.sh

@ -0,0 +1,10 @@
TERMUX_PKG_HOMEPAGE=https://github.com/JuliaLang/utf8proc
TERMUX_PKG_DESCRIPTION="Library for processing UTF-8 Unicode data"
TERMUX_PKG_VERSION=2.1.0
TERMUX_PKG_SHA256=25ccc5619ac400f9eaf24aafaae5b625afa1961e140b8dd6072b393267833260
TERMUX_PKG_SRCURL=https://github.com/JuliaLang/utf8proc/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_BUILD_IN_SRC=yes
termux_step_pre_configure() {
rm $TERMUX_PKG_SRCDIR/CMakeLists.txt
}
Loading…
Cancel
Save