wok-next view lcms/receipt @ rev 20869
mono: fix build on 32-bit
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jul 02 10:15:48 2018 +0300 (2018-07-02) |
parents | 0ec6086e21d6 |
children | f48456621a9d |
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="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://www.littlecms.com/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/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="lcms-dev lcms-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 }