wok-6.x annotate lcms2/receipt @ rev 25163
updated python-bcrypt (3.1.7 -> 3.2.2)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 01 10:37:34 2022 +0100 (2022-07-01) |
parents | 68080ae2ec03 |
children |
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 } |