wok-current annotate lcms/receipt @ rev 25707

Fix miss file need for grub2-efi install (kernel.img, modinfo.sh)
author Stanislas Leduc <shann@slitaz.org>
date Thu May 30 20:14:23 2024 +0000 (5 months ago)
parents 424066c71c13
children
rev   line source
pankso@2821 1 # SliTaz package receipt.
pankso@2821 2
pankso@2821 3 PACKAGE="lcms"
slaxemulator@6226 4 VERSION="1.19"
pankso@2821 5 CATEGORY="graphics"
pankso@2821 6 SHORT_DESC="A free color management engine in 100K (library)."
pankso@2821 7 MAINTAINER="pankso@slitaz.org"
pascal@15379 8 LICENSE="MIT"
slaxemulator@6226 9 TARBALL="$PACKAGE-${VERSION}.tar.gz"
pankso@2821 10 WEB_SITE="http://www.littlecms.com/"
slaxemulator@6226 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@16122 12 HOST_ARCH="i486 arm"
pankso@2821 13
pankso@16122 14 RELATED="lcms-dev lcms-apps"
slaxemulator@12379 15 BUILD_DEPENDS="tiff-dev jpeg-dev zlib-dev"
slaxemulator@12379 16
pascal@24074 17 current_version()
pascal@24074 18 {
pascal@24074 19 wget -O - https://sourceforge.net/projects/lcms/files/lcms/ 2>/dev/null | \
pascal@24074 20 sed '/scope="row/!d;/lcms.1/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24074 21 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
pascal@24074 22 }
pascal@24074 23
pankso@2821 24 # Rules to configure and make the package.
pankso@2821 25 compile_rules()
pankso@2821 26 {
pankso@2821 27 ./configure \
pankso@2821 28 $CONFIGURE_ARGS &&
pankso@16122 29 make && make install
pankso@2821 30 }
pankso@2821 31
pankso@2821 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@2821 33 genpkg_rules()
pankso@2821 34 {
pankso@2821 35 mkdir -p $fs/usr/lib
pascal@15379 36 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@2821 37 }
pankso@2821 38