utf8proc.
This commit is contained in:
@@ -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")
|
||||||
@@ -0,0 +1,54 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>utf8proc</Name>
|
||||||
|
<Homepage>https://github.com/JuliaStrings/utf8proc</Homepage>
|
||||||
|
<Packager>
|
||||||
|
<Name>fury</Name>
|
||||||
|
<Email>uglyside@yandex.ru</Email>
|
||||||
|
</Packager>
|
||||||
|
<License>MIT</License>
|
||||||
|
<IsA>library</IsA>
|
||||||
|
<PartOf>programming.library</PartOf>
|
||||||
|
<Summary>a clean C library for processing UTF-8 Unicode data.</Summary>
|
||||||
|
<Description>utf8proc is a small, clean C library that provides Unicode normalization, case-folding, and other operations for data in the UTF-8 encoding.</Description>
|
||||||
|
<Archive sha1sum="f21b3263081adfcbe102cfea8cd4cb02e71f0efc" type="targz">
|
||||||
|
https://github.com/JuliaStrings/utf8proc/archive/refs/tags/v2.6.1.tar.gz
|
||||||
|
</Archive>
|
||||||
|
<BuildDependencies>
|
||||||
|
<Dependency>cmake</Dependency>
|
||||||
|
</BuildDependencies>
|
||||||
|
</Source>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>utf8proc</Name>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<!-- <Dependency></Dependency> -->
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="library">/usr/lib</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>utf8proc-devel</Name>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency release="current">utf8proc</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="header">/usr/include/utf8proc.h</Path>
|
||||||
|
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<History>
|
||||||
|
<Update release="1">
|
||||||
|
<Date>2021-11-22</Date>
|
||||||
|
<Version>2.6.1</Version>
|
||||||
|
<Comment>First build.</Comment>
|
||||||
|
<Name>fury</Name>
|
||||||
|
<Email>uglyside@yandex.ru</Email>
|
||||||
|
</Update>
|
||||||
|
</History>
|
||||||
|
</PISI>
|
||||||
Reference in New Issue
Block a user