SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "lcms2"

# SliTaz package receipt.

PACKAGE="lcms2"
VERSION="2.13.1"
CATEGORY="graphics"
SHORT_DESC="Open source color management engine (library)."
MAINTAINER="al.bobylev@gmail.com"
LICENSE="MIT"
WEB_SITE="https://www.littlecms.com/"
REPOLOGY="lcms"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/mm2/Little-CMS/archive/lcms$VERSION.tar.gz"

BUILD_DEPENDS="jpeg-dev tiff-dev zlib-dev"
SPLIT="lcms2-apps"

HOST_ARCH="i486 x86_64"

current_version()
{
    wget -O - https://sourceforge.net/projects/lcms/files/lcms/ 2>/dev/null | \
    sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;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*
}
6063 packages and 233209 files in current database (Sat Dec 21 00:00:03 2024)