wok-next view lcms2/receipt @ rev 21066
Switch some python packages to traditional build
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 06 13:30:23 2018 +0200 (2018-12-06) |
parents | f48456621a9d |
children | 75632eca5b07 |
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"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/lcms/$TARBALL"
15 BUILD_DEPENDS="libjpeg-turbo-dev zlib-dev tiff-dev"
16 SPLIT="$PACKAGE-apps $PACKAGE-dev"
18 compile_rules() {
19 # don't use --disable-static: optipng-static require such lib
21 ./configure $CONFIGURE_ARGS &&
22 fix libtool &&
23 make &&
24 make install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 lcms2)
30 copy *.so*
31 ;;
32 lcms2-apps)
33 copy bin/
34 CAT="graphics|applications"
35 DEPENDS="lcms2 libjpeg-turbo tiff"
36 ;;
37 *-dev) copy @dev;;
38 esac
39 }