wok-6.x view utf8proc/receipt @ rev 24452

cyrus-imapd: configured libexecdir
author Hans-G?nter Theisgen
date Tue Feb 15 17:13:46 2022 +0100 (2022-02-15)
parents 34fee0670dce
children
line source
1 # SliTaz package receipt.
3 PACKAGE="utf8proc"
4 VERSION="2.4.0"
5 CATEGORY="misc"
6 SHORT_DESC="A clean C library for processing UTF-8 Unicode data"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/JuliaStrings/utf8proc"
11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
13 BUILD_DEPENDS="cmake"
15 current_version()
16 {
17 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
18 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 mkdir build
25 cd build
26 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/usr $fs
35 }