From daded72ecf25062a8196809ec9cd7d7568992ef7 Mon Sep 17 00:00:00 2001 From: 4fury-c3440d8 Date: Mon, 22 Nov 2021 03:58:34 +0300 Subject: [PATCH] utf8proc. --- programming/library/utf8proc/actions.py | 22 ++++++++++ programming/library/utf8proc/pspec.xml | 54 +++++++++++++++++++++++++ 2 files changed, 76 insertions(+) create mode 100644 programming/library/utf8proc/actions.py create mode 100644 programming/library/utf8proc/pspec.xml diff --git a/programming/library/utf8proc/actions.py b/programming/library/utf8proc/actions.py new file mode 100644 index 0000000000..f1afca321e --- /dev/null +++ b/programming/library/utf8proc/actions.py @@ -0,0 +1,22 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file https://www.gnu.org/licenses/gpl-3.0.txt + +from pisi.actionsapi import shelltools, cmaketools, pisitools + +def setup(): + shelltools.makedirs("_build") + shelltools.cd("_build") + cmaketools.configure("-DBUILD_SHARED_LIBS=1", sourceDir = "..") + +def build(): + shelltools.cd("_build") + cmaketools.make() + +def install(): + shelltools.cd("_build") + cmaketools.install() + + pisitools.insinto("/usr/lib/pkgconfig", "../libutf8proc.pc.in", "libutf8proc.pc") diff --git a/programming/library/utf8proc/pspec.xml b/programming/library/utf8proc/pspec.xml new file mode 100644 index 0000000000..8953e2ce65 --- /dev/null +++ b/programming/library/utf8proc/pspec.xml @@ -0,0 +1,54 @@ + + + + + utf8proc + https://github.com/JuliaStrings/utf8proc + + fury + uglyside@yandex.ru + + MIT + library + programming.library + a clean C library for processing UTF-8 Unicode data. + utf8proc is a small, clean C library that provides Unicode normalization, case-folding, and other operations for data in the UTF-8 encoding. + + https://github.com/JuliaStrings/utf8proc/archive/refs/tags/v2.6.1.tar.gz + + + cmake + + + + + utf8proc + + + + + /usr/lib + + + + + utf8proc-devel + + utf8proc + + + /usr/include/utf8proc.h + /usr/lib/pkgconfig + + + + + + 2021-11-22 + 2.6.1 + First build. + fury + uglyside@yandex.ru + + +