wok-current annotate harfbuzz/receipt @ rev 25620
Use default gcc 6.3 for ghostscript
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Mon Sep 04 05:39:50 2023 +0000 (17 months ago) |
parents | 3cdc90c472a2 |
children | 3ad63c8fc2f9 |
rev | line source |
---|---|
pankso@16149 | 1 # SliTaz package receipt. |
pankso@16149 | 2 |
pankso@16149 | 3 PACKAGE="harfbuzz" |
pascal@24070 | 4 VERSION="2.8.1" |
pankso@16149 | 5 CATEGORY="system-tools" |
Hans-G?nter@21026 | 6 SHORT_DESC="OpenType text shaping engine." |
pankso@16149 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@16149 | 8 LICENSE="GPL2" |
al@19306 | 9 WEB_SITE="https://www.freedesktop.org/wiki/Software/HarfBuzz/" |
Hans-G?nter@21026 | 10 |
Hans-G?nter@22922 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@24070 | 12 WGET_URL="https://github.com/harfbuzz/harfbuzz/releases/download/$VERSION/$TARBALL" |
Hans-G?nter@21026 | 13 |
shann@25592 | 14 DEPENDS="cairo freetype glib libffi pcre" |
shann@25592 | 15 BUILD_DEPENDS="cairo-dev fontconfig-dev freetype-dev glib-dev" |
Hans-G?nter@22922 | 16 |
pascal@19088 | 17 HOST_ARCH="i486 arm" |
pankso@16149 | 18 |
pascal@24070 | 19 current_version() |
pascal@24070 | 20 { |
pascal@24070 | 21 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ |
pascal@24070 | 22 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24070 | 23 } |
pascal@24070 | 24 |
pankso@16149 | 25 # Rules to configure and make the package. |
pankso@16149 | 26 compile_rules() |
pankso@16149 | 27 { |
Hans-G?nter@21026 | 28 ./configure \ |
Hans-G?nter@21026 | 29 --with-freetype \ |
Hans-G?nter@21026 | 30 --with-glib \ |
Hans-G?nter@21026 | 31 --with-gobject \ |
Hans-G?nter@21026 | 32 --with-icu=no \ |
al@19306 | 33 $CONFIGURE_ARGS && |
pascal@24070 | 34 make && |
Hans-G?nter@21026 | 35 make install |
pankso@16149 | 36 } |
pankso@16149 | 37 |
pankso@16149 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16149 | 39 genpkg_rules() |
pankso@16149 | 40 { |
pankso@16149 | 41 mkdir -p $fs/usr/lib |
Hans-G?nter@21026 | 42 |
Hans-G?nter@21026 | 43 #cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21026 | 44 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@16149 | 45 } |