wok-next view lcms/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children 75632eca5b07
line source
1 # SliTaz package receipt v2.
3 PACKAGE="lcms"
4 VERSION="1.19"
5 CATEGORY="graphics"
6 SHORT_DESC="A free color management engine in 100K"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://www.littlecms.com/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/lcms.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 BUILD_DEPENDS="tiff-dev libjpeg-turbo-dev zlib-dev gfortran xz-dev"
16 SPLIT="$PACKAGE-dev $PACKAGE-apps"
18 compile_rules() {
19 ./configure \
20 --disable-static \
21 $CONFIGURE_ARGS &&
22 fix libtool &&
23 make &&
24 make install || return 1
26 cook_pick_docs README.1ST doc/*
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 lcms)
32 copy *.so*
33 ;;
34 lcms-apps)
35 copy bin/
36 CAT="development|applications"
37 DEPENDS="lcms libjpeg-turbo tiff"
38 ;;
39 *-dev) copy @dev;;
40 esac
41 }