1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-24 06:14:16 +00:00

utf8proc: Add package

This commit is contained in:
Fredrik Fornwall 2018-04-17 00:06:43 +02:00
parent 021f784e3f
commit 28e7196005
2 changed files with 22 additions and 0 deletions

View File

@ -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

View File

@ -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
}