wok-next diff utf8proc/receipt @ rev 21375
updated mpd (0.17.2 -> 0.21.22)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 16 13:45:16 2020 +0100 (2020-04-16) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/utf8proc/receipt Thu Apr 16 13:45:16 2020 +0100 1.3 @@ -0,0 +1,37 @@ 1.4 +# SliTaz package receipt v2. 1.5 + 1.6 +PACKAGE="utf8proc" 1.7 +VERSION="2.2.0" 1.8 +CATEGORY="libs" 1.9 +SHORT_DESC="Library for processing UTF-8 encoded Unicode strings" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="MIT" 1.12 +WEB_SITE="https://juliastrings.github.io/utf8proc/" 1.13 + 1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 +WGET_URL="https://github.com/JuliaStrings/utf8proc/archive/v$VERSION.tar.gz" 1.16 +TARBALL_SHA1="476efd08dbff38c63f01bb9176905edb09384e63" 1.17 + 1.18 +BUILD_DEPENDS="cmake ninja" 1.19 +SPLIT="$PACKAGE-dev" 1.20 + 1.21 +compile_rules() { 1.22 + sed "s|@VERSION@|$VERSION|" $stuff/libutf8proc.pc.in > libutf8proc.pc 1.23 + 1.24 + mkdir build 1.25 + cd build 1.26 + 1.27 + cmake \ 1.28 + -DCMAKE_INSTALL_PREFIX=/usr \ 1.29 + -DBUILD_SHARED_LIBS=ON \ 1.30 + -G Ninja \ 1.31 + .. && 1.32 + ninja && 1.33 + ninja install || return 1 1.34 + 1.35 + cd .. 1.36 + install -Dm644 utf8proc.h $install/usr/include/utf8proc.h 1.37 + install -Dm644 libutf8proc.pc $install/usr/lib/pkgconfig/libutf8proc.pc 1.38 + 1.39 + cook_pick_docs *.md 1.40 +}