wok-current view harfbuzz/receipt @ rev 25592

Use default gcc 6.3 for harfbuzz
author Stanislas Leduc <shann@slitaz.org>
date Tue Aug 29 09:48:59 2023 +0000 (15 months ago)
parents 3cdc90c472a2
children 3ad63c8fc2f9
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 glib libffi pcre"
15 BUILD_DEPENDS="cairo-dev fontconfig-dev freetype-dev glib-dev"
17 HOST_ARCH="i486 arm"
19 current_version()
20 {
21 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;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=no \
33 $CONFIGURE_ARGS &&
34 make &&
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 }