wok view lcms/receipt @ rev 25732
Up liblzma (5.6.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 21 17:39:11 2024 +0000 (3 months ago) |
parents | 3e2a0347b2f1 |
children |
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/lcms/files/lcms/ 2>/dev/null | \
21 sed '/scope="row/!d;/lcms.1/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
22 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 $CONFIGURE_ARGS &&
30 make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 }