wok view lcms/receipt @ rev 24644

updated hiawatha (10.10 -> 11.1)
author Hans-G?nter Theisgen
date Thu Mar 10 09:34:32 2022 +0100 (2022-03-10)
parents 424066c71c13
children d3556b8f5c3d
line source
1 # SliTaz package receipt.
3 PACKAGE="lcms"
4 VERSION="1.19"
5 CATEGORY="graphics"
6 SHORT_DESC="A free color management engine in 100K (library)."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-${VERSION}.tar.gz"
10 WEB_SITE="http://www.littlecms.com/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 HOST_ARCH="i486 arm"
14 RELATED="lcms-dev lcms-apps"
15 BUILD_DEPENDS="tiff-dev jpeg-dev zlib-dev"
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/lcms/files/lcms/ 2>/dev/null | \
20 sed '/scope="row/!d;/lcms.1/!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 \
28 $CONFIGURE_ARGS &&
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 }