SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "harfbuzz"

# SliTaz package receipt.

PACKAGE="harfbuzz"
VERSION="2.8.1"
CATEGORY="system-tools"
SHORT_DESC="OpenType text shaping engine."
MAINTAINER="pankso@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://www.freedesktop.org/wiki/Software/HarfBuzz/"

TARBALL="$PACKAGE-$VERSION.tar.xz"
WGET_URL="https://github.com/harfbuzz/harfbuzz/releases/download/$VERSION/$TARBALL"

DEPENDS="cairo freetype gcc83-lib-base glib libffi pcre"
BUILD_DEPENDS="cairo-dev fontconfig-dev freetype-dev gcc83 glib-dev"

HOST_ARCH="i486 arm"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/down*} 2>/dev/null | \
    sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure        \
        CC=gcc-83    \
        CXX=g++-83    \
        --with-freetype    \
        --with-glib    \
        --with-gobject    \
        --with-icu=no    \
        $CONFIGURE_ARGS &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib

    #cp -a $install/usr/bin        $fs/usr
    cp -a $install/usr/lib/*.so*    $fs/usr/lib
}
5935 packages and 845883 files in cooking database (Thu Jun 27 00:01:54 2024)