wok-next view utf8proc/receipt @ rev 21540
updated cantarell-fonts (0.111 -> 0.201)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jun 21 16:26:44 2020 +0100 (2020-06-21) |
parents | |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="utf8proc"
4 VERSION="2.2.0"
5 CATEGORY="libs"
6 SHORT_DESC="Library for processing UTF-8 encoded Unicode strings"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="https://juliastrings.github.io/utf8proc/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/JuliaStrings/utf8proc/archive/v$VERSION.tar.gz"
13 TARBALL_SHA1="476efd08dbff38c63f01bb9176905edb09384e63"
15 BUILD_DEPENDS="cmake ninja"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 sed "s|@VERSION@|$VERSION|" $stuff/libutf8proc.pc.in > libutf8proc.pc
21 mkdir build
22 cd build
24 cmake \
25 -DCMAKE_INSTALL_PREFIX=/usr \
26 -DBUILD_SHARED_LIBS=ON \
27 -G Ninja \
28 .. &&
29 ninja &&
30 ninja install || return 1
32 cd ..
33 install -Dm644 utf8proc.h $install/usr/include/utf8proc.h
34 install -Dm644 libutf8proc.pc $install/usr/lib/pkgconfig/libutf8proc.pc
36 cook_pick_docs *.md
37 }