wok-current view harfbuzz/receipt @ rev 25685
Add checkspace / fetchall feature for tazpkg
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Mar 14 20:28:39 2024 +0000 (8 months ago) |
parents | 58294245c63d |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="harfbuzz"
4 VERSION="3.2.0"
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 \
16 gobject-introspection-dev python3-dev"
18 HOST_ARCH="i486 arm"
20 current_version()
21 {
22 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
23 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --enable-introspection=yes \
31 --with-freetype \
32 --with-glib \
33 --with-gobject \
34 --with-icu=no \
35 $CONFIGURE_ARGS &&
36 make &&
37 make install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/lib
45 #cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/lib/*.so* $fs/usr/lib
47 }