wok-6.x view lcms/receipt @ rev 25419
Up bzip3 (1.1.4)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 06 11:13:43 2022 +0000 (2022-08-06) |
parents | 424066c71c13 |
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 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 }