wok annotate lcms2/receipt @ rev 25219

updated python-pip (20.0.2 -> 20.3.4)
author Hans-G?nter Theisgen
date Wed Jul 13 15:45:09 2022 +0100 (2022-07-13)
parents 68080ae2ec03
children 5db546345599
rev   line source
al@19128 1 # SliTaz package receipt.
al@19128 2
al@19128 3 PACKAGE="lcms2"
Hans-G?nter@24706 4 VERSION="2.13.1"
al@19128 5 CATEGORY="graphics"
Hans-G?nter@21100 6 SHORT_DESC="Open source color management engine (library)."
al@19128 7 MAINTAINER="al.bobylev@gmail.com"
al@19128 8 LICENSE="MIT"
Hans-G?nter@24706 9 WEB_SITE="https://www.littlecms.com/"
Hans-G?nter@24707 10 REPOLOGY="lcms"
Hans-G?nter@21100 11
al@19128 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@24706 13 WGET_URL="https://github.com/mm2/Little-CMS/archive/lcms$VERSION.tar.gz"
al@19128 14
Hans-G?nter@21100 15 BUILD_DEPENDS="jpeg-dev tiff-dev zlib-dev"
al@19128 16 SPLIT="lcms2-apps"
al@19128 17
pascal@24071 18 current_version()
pascal@24071 19 {
pascal@24071 20 wget -O - https://sourceforge.net/projects/lcms/files/lcms/ 2>/dev/null | \
pascal@24071 21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24071 22 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
pascal@24071 23 }
pascal@24071 24
al@19128 25 # Rules to configure and make the package.
al@19128 26 compile_rules()
al@19128 27 {
Hans-G?nter@21100 28 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@24706 29 make &&
Hans-G?nter@21100 30 make install
al@19128 31 }
al@19128 32
al@19128 33 # Rules to gen a SliTaz package suitable for Tazpkg.
al@19128 34 genpkg_rules()
al@19128 35 {
Hans-G?nter@24706 36 cook_copy_files *.so*
al@19128 37 }