wok annotate harfbuzz-icu/receipt @ rev 24575

updated fsarchiver (0.8.5 -> 0.8.6)
author Hans-G?nter Theisgen
date Sun Feb 27 10:36:21 2022 +0100 (2022-02-27)
parents 194d28e90087
children
rev   line source
pascal@18356 1 # SliTaz package receipt.
pascal@18356 2
pascal@18356 3 PACKAGE="harfbuzz-icu"
Hans-G?nter@22922 4 VERSION="2.6.4"
pascal@18356 5 CATEGORY="system-tools"
Hans-G?nter@22922 6 SHORT_DESC="OpenType text shaping engine with icu support."
pascal@18356 7 MAINTAINER="pankso@slitaz.org"
pascal@18356 8 LICENSE="GPL2"
Hans-G?nter@21026 9 WEB_SITE="https://www.freedesktop.org/wiki/Software/HarfBuzz"
Hans-G?nter@21026 10
Hans-G?nter@21026 11 SOURCE="harfbuzz"
Hans-G?nter@22922 12 TARBALL="$SOURCE-$VERSION.tar.xz"
Hans-G?nter@21026 13 WGET_URL="https://www.freedesktop.org/software/$SOURCE/release/$TARBALL"
Hans-G?nter@21026 14
pascal@18356 15 PROVIDE="harfbuzz"
Hans-G?nter@22922 16 DEPENDS="freetype gcc83-lib-base glib icu"
Hans-G?nter@22922 17 BUILD_DEPENDS="freetype-dev gcc83 glib-dev icu-dev"
pascal@18356 18
pascal@24445 19 # What is the latest version available today?
pascal@24445 20 current_version()
pascal@24445 21 {
pascal@24445 22 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24445 23 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24445 24 }
pascal@24445 25
pascal@18356 26 # Rules to configure and make the package.
pascal@18356 27 compile_rules()
pascal@18356 28 {
Hans-G?nter@21026 29 ./configure \
Hans-G?nter@22922 30 CC=gcc-83 \
Hans-G?nter@22922 31 CXX=g++-83 \
Hans-G?nter@21026 32 --with-freetype \
Hans-G?nter@21026 33 --with-glib \
Hans-G?nter@21026 34 --with-gobject \
Hans-G?nter@21026 35 --with-icu=yes \
pascal@18356 36 $CONFIGURE_ARGS &&
Hans-G?nter@21026 37 make -j 1 &&
Hans-G?nter@21026 38 make install
pascal@18356 39 }
pascal@18356 40
pascal@18356 41 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@18356 42 genpkg_rules()
pascal@18356 43 {
pascal@18356 44 mkdir -p $fs/usr/lib
Hans-G?nter@21026 45
Hans-G?nter@21026 46 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21026 47 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@18356 48 }