wok-next annotate utf8proc/receipt @ rev 21449

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