SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "harfbuzz"

# SliTaz package receipt.

PACKAGE="harfbuzz"
VERSION="3.2.0"
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 glib libffi pcre"
BUILD_DEPENDS="cairo-dev fontconfig-dev freetype-dev glib-dev \
gobject-introspection-dev python3-dev"

HOST_ARCH="i486 arm"

current_version()
{
    wget -O - ${WGET_URL%/down*} 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure        \
        --enable-introspection=yes \
        --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
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)