wok view lcms2/receipt @ rev 24297

updated swig (4.0.1 -> 4.0.2)
author Hans-G?nter Theisgen
date Sat Jan 15 13:48:03 2022 +0100 (2022-01-15)
parents 0b02213fe0a1
children 68080ae2ec03
line source
1 # SliTaz package receipt.
3 PACKAGE="lcms2"
4 VERSION="2.10"
5 CATEGORY="graphics"
6 SHORT_DESC="Open source color management engine (library)."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="http://www.littlecms.com/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/lcms/$TARBALL"
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 -j 1 &&
29 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 }