wok-current view lcms2/receipt @ rev 24706
updated lcms2, lcms2-apps and lcms2-dev (2.10 -> 2.13.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 14 15:57:04 2022 +0100 (2022-03-14) |
parents | ee53899c6189 |
children | cbdedb979b58 |
line source
1 # SliTaz package receipt.
3 PACKAGE="lcms2"
4 VERSION="2.13.1"
5 CATEGORY="graphics"
6 SHORT_DESC="Open source color management engine (library)."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="https://www.littlecms.com/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/mm2/Little-CMS/archive/lcms$VERSION.tar.gz"
14 BUILD_DEPENDS="jpeg-dev tiff-dev zlib-dev"
15 SPLIT="lcms2-apps"
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/lcms/files/lcms/ 2>/dev/null | \
20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
21 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure $CONFIGURE_ARGS &&
28 make &&
29 make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cook_copy_files *.so*
36 }