SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "tiff"

# SliTaz package receipt.

PACKAGE="tiff"
VERSION="4.4.0"
CATEGORY="x-window"
SHORT_DESC="A library of functions for manipulating TIFF format image files."
MAINTAINER="pankso@slitaz.org"
LICENSE="MIT"
WEB_SITE="http://www.libtiff.org/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://download.osgeo.org/libtiff/$TARBALL"

DEPENDS="gcc-lib-base jpeg zlib"
BUILD_DEPENDS="jbigkit jpeg-dev zlib-dev"

HOST_ARCH="i486 arm"

current_version()
{
    wget -O - $(dirname $WGET_URL) 2>/dev/null | \
    sed "/rc[0-9]/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
}

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

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