wok-current view harfbuzz-icu/receipt @ rev 25692

Up gnutls CVE-2024-28834, CVE-2024-28835, Up python3 CVE-2023-52425, CVE-2024-0450, CVE-2023-6597
author Stanislas Leduc <shann@slitaz.org>
date Fri Mar 22 16:28:42 2024 +0000 (3 months ago)
parents a23978bfa665
children
line source
1 # SliTaz package receipt.
3 PACKAGE="harfbuzz-icu"
4 VERSION="3.2.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="OpenType text shaping engine with icu support."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.freedesktop.org/wiki/Software/HarfBuzz"
11 SOURCE="harfbuzz"
12 TARBALL="$SOURCE-$VERSION.tar.xz"
13 WGET_URL="https://www.freedesktop.org/software/$SOURCE/release/$TARBALL"
15 DEPENDS="freetype glib icu"
16 BUILD_DEPENDS="freetype-dev glib-dev icu-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --with-freetype \
30 --with-glib \
31 --with-gobject \
32 --with-icu=yes \
33 $CONFIGURE_ARGS &&
34 make -j 1 &&
35 make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
45 }