SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "jbig2dec"

# SliTaz package receipt.

PACKAGE="jbig2dec"
VERSION="0.19"
CATEGORY="development"
SHORT_DESC="Decoder implementation of the JBIG2 image compression format."
MAINTAINER="slaxemulator@gmail.com"
LICENSE="GPL3"
WEB_SITE="https://github.com/ArtifexSoftware/jbig2dec"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$WEB_SITE/archive/$VERSION/$TARBALL"

BUILD_DEPENDS="autoconf automake libpng-dev libtool"

HOST_ARCH="i486 arm"

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

# Rules to configure and make the package.
compile_rules()
{
    ./autogen.sh &&
    ./configure        \
        $CONFIGURE_ARGS &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    bin
    cook_copy_files        *.so*
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)