wok view lcms2/receipt @ rev 24789

grep: add post_install (install)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 21 09:36:52 2022 +0000 (2022-03-21)
parents 68080ae2ec03
children 5db546345599
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/"
10 REPOLOGY="lcms"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/mm2/Little-CMS/archive/lcms$VERSION.tar.gz"
15 BUILD_DEPENDS="jpeg-dev tiff-dev zlib-dev"
16 SPLIT="lcms2-apps"
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/lcms/files/lcms/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;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 $CONFIGURE_ARGS &&
29 make &&
30 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cook_copy_files *.so*
37 }