wok view utf8proc/receipt @ rev 25601

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 16 18:06:38 2023 +0000 (10 months ago)
parents 5ea0ce1cecc0
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 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
19 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 mkdir build
26 cd build
27 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/usr $fs
36 }