wok view harfbuzz-icu/receipt @ rev 24538

updated fbcat (0.5.1 -> 0.5.2)
author Hans-G?nter Theisgen
date Wed Feb 23 15:14:49 2022 +0100 (2022-02-23)
parents 194d28e90087
children
line source
1 # SliTaz package receipt.
3 PACKAGE="harfbuzz-icu"
4 VERSION="2.6.4"
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 PROVIDE="harfbuzz"
16 DEPENDS="freetype gcc83-lib-base glib icu"
17 BUILD_DEPENDS="freetype-dev gcc83 glib-dev icu-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/*} 2>/dev/null | \
23 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 CC=gcc-83 \
31 CXX=g++-83 \
32 --with-freetype \
33 --with-glib \
34 --with-gobject \
35 --with-icu=yes \
36 $CONFIGURE_ARGS &&
37 make -j 1 &&
38 make install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/lib
46 cp -a $install/usr/bin $fs/usr
47 cp -a $install/usr/lib/*.so* $fs/usr/lib
48 }