wok-next view lcms2/receipt @ rev 19769
Update Perl XS modules that need perl-dev to build (unlike Pure Perl), rebuild all module packages as Perl version change.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 14 09:51:23 2017 +0300 (2017-06-14) |
parents | 35a20e111081 |
children | 028634d82da8 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="lcms2"
4 VERSION="2.8"
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/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/lcms/$TARBALL"
14 BUILD_DEPENDS="libjpeg-turbo-dev zlib-dev tiff-dev"
15 SPLIT="lcms2-apps lcms2-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --disable-static \
22 $CONFIGURE_ARGS &&
23 make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
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 zlib"
37 ;;
38 *-dev) copy @dev;;
39 esac
40 }