wok-next view lcms2/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | db1d1b071346 |
children | d5aab818505e |
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/svn/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 }