SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libmatchbox"

# SliTaz package receipt.

PACKAGE="libmatchbox"
VERSION="1.12"
CATEGORY="x-window"
SHORT_DESC="Matchbox shared library."
MAINTAINER="pankso@slitaz.org"
LICENSE="LGPL2.1"
WEB_SITE="https://www.yoctoproject.org/software-item/matchbox/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://git.yoctoproject.org/cgit/cgit.cgi/$PACKAGE/snapshot/$TARBALL"

DEPENDS="pango"
BUILD_DEPENDS="autoconf automake jpeg-dev libtool libxml2-dev pango-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://git.yoctoproject.org/libmatchbox/ 2>/dev/null | \
    sed "/latest/d;/$PACKAGE-[0-9]/!d;/zip/!d;s|.*$PACKAGE-||;s|.zip.*||" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
    #--enable-xsettings

    ./autogen.sh &&
    ./configure        \
        --enable-pango    \
        --enable-jpeg    \
        $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/lib/*.so*    $fs/usr/lib
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)