wok view harfbuzz/receipt @ rev 25682

Up libqcow (20240308)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 24 18:25:46 2024 +0000 (7 months ago)
parents 3cdc90c472a2
children
line source
1 # SliTaz package receipt.
3 PACKAGE="harfbuzz"
4 VERSION="2.8.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="OpenType text shaping engine."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.freedesktop.org/wiki/Software/HarfBuzz/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://github.com/harfbuzz/harfbuzz/releases/download/$VERSION/$TARBALL"
14 DEPENDS="cairo freetype gcc83-lib-base glib libffi pcre"
15 BUILD_DEPENDS="cairo-dev fontconfig-dev freetype-dev gcc83 glib-dev"
17 HOST_ARCH="i486 arm"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
23 sed '/tag\//!d;s|.*tag/v*||;s|".*||;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=no \
36 $CONFIGURE_ARGS &&
37 make &&
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 }