wok-next view lcms2/receipt @ rev 20741
brscan: use SliTaz mirror as $WGET_URL
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 22:56:44 2018 +0300 (2018-05-29) |
parents | 1ca369c9f448 |
children | f48456621a9d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="lcms2"
4 VERSION="2.9"
5 CATEGORY="graphics"
6 SHORT_DESC="Open source color management engine"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="http://www.littlecms.com/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/lcms2.html"
11 HOST_ARCH="i486 x86_64"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WGET_URL="$SF_MIRROR/lcms/$TARBALL"
16 BUILD_DEPENDS="libjpeg-turbo-dev zlib-dev tiff-dev"
17 SPLIT="lcms2-apps lcms2-dev"
19 compile_rules() {
20 # don't use --disable-static: optipng-static require such lib
22 ./configure $CONFIGURE_ARGS &&
23 fix libtool &&
24 make &&
25 make install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 lcms2)
31 copy *.so*
32 ;;
33 lcms2-apps)
34 copy bin/
35 CAT="graphics|applications"
36 DEPENDS="lcms2 libjpeg-turbo tiff"
37 ;;
38 *-dev) copy @dev;;
39 esac
40 }