wok annotate lcms2/receipt @ rev 24554

updated flac and flac-dev again (1.3.3 -> 1.3.4)
author Hans-G?nter Theisgen
date Fri Feb 25 11:25:23 2022 +0100 (2022-02-25)
parents 0b02213fe0a1
children 68080ae2ec03
rev   line source
al@19128 1 # SliTaz package receipt.
al@19128 2
al@19128 3 PACKAGE="lcms2"
pascal@23834 4 VERSION="2.10"
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"
al@19128 9 WEB_SITE="http://www.littlecms.com/"
Hans-G?nter@21100 10
al@19128 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@19128 12 WGET_URL="$SF_MIRROR/lcms/$TARBALL"
al@19128 13
Hans-G?nter@21100 14 BUILD_DEPENDS="jpeg-dev tiff-dev zlib-dev"
al@19128 15 SPLIT="lcms2-apps"
al@19128 16
pascal@24071 17 current_version()
pascal@24071 18 {
pascal@24071 19 wget -O - https://sourceforge.net/projects/lcms/files/lcms/ 2>/dev/null | \
pascal@24071 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24071 21 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
pascal@24071 22 }
pascal@24071 23
al@19128 24 # Rules to configure and make the package.
al@19128 25 compile_rules()
al@19128 26 {
Hans-G?nter@21100 27 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@21100 28 make -j 1 &&
Hans-G?nter@21100 29 make install
al@19128 30 }
al@19128 31
al@19128 32 # Rules to gen a SliTaz package suitable for Tazpkg.
al@19128 33 genpkg_rules()
al@19128 34 {
al@19128 35 mkdir -p $fs/usr/lib
al@19128 36 cp -a $install/usr/lib/*.so* $fs/usr/lib
al@19128 37 }