I'd like to package and maintain the utf8proc library for Cygwin. utf8proc is
a small library for processing UTF-8 data.

The Cygport file is below, and in the utf8proc branch of
https://cygwin.com/git/cygwin-packages/playground.

upt8proc is in Debian: https://packages.debian.org/sid/libutf8proc3 .

libtre5, utf8proc, and libuninum are all dependencies of msort, which I plan
to package once all of those are released.

Andrew

--

# Cygport script for utf8proc

NAME=utf8proc
VERSION=2.11.0
RELEASE=1

# Packaging

SUMMARY="C library for processing UTF-8 Unicode data"
DESCRIPTION="Small, clean C library that provides Unicode normalization,
case-folding, and other operations for data in the UTF-8 encoding."
CATEGORY="Libs"
HOMEPAGE="https://github.com/JuliaStrings/utf8proc";
LICENSE="MIT AND Unicode-3.0"

PKG_NAMES="libutf8proc libutf8proc-devel"

libutf8proc_CONTENTS="usr/bin"
libutf8proc_CATEGORY="Libs"

libutf8proc_devel_CONTENTS="--exclude=usr/bin usr"
libutf8proc_devel_CATEGORY="Devel"

# Sources

SRC_URI="https://github.com/JuliaStrings/utf8proc/archive/refs/tags/v${PV}.tar.gz#/utf8proc-${PV}.tar.gz";

# Build

BUILD_REQUIRES="cmake"

CYGCMAKE_ARGS="-D BUILD_SHARED_LIBS=true"
inherit cmake

Reply via email to