wok-next annotate lcms/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | f48456621a9d |
children | 75632eca5b07 |
rev | line source |
---|---|
al@19753 | 1 # SliTaz package receipt v2. |
pankso@2821 | 2 |
pankso@2821 | 3 PACKAGE="lcms" |
slaxemulator@6226 | 4 VERSION="1.19" |
pankso@2821 | 5 CATEGORY="graphics" |
al@19753 | 6 SHORT_DESC="A free color management engine in 100K" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15379 | 8 LICENSE="MIT" |
pankso@2821 | 9 WEB_SITE="http://www.littlecms.com/" |
al@21017 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/lcms.html" |
pankso@2821 | 11 |
al@19753 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19753 | 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
al@19753 | 14 |
al@20679 | 15 BUILD_DEPENDS="tiff-dev libjpeg-turbo-dev zlib-dev gfortran xz-dev" |
al@21020 | 16 SPLIT="$PACKAGE-dev $PACKAGE-apps" |
slaxemulator@12379 | 17 |
al@20575 | 18 compile_rules() { |
al@20679 | 19 ./configure \ |
al@20679 | 20 --disable-static \ |
al@20679 | 21 $CONFIGURE_ARGS && |
al@20575 | 22 fix libtool && |
al@20575 | 23 make && |
al@20679 | 24 make install || return 1 |
al@20679 | 25 |
al@20679 | 26 cook_pick_docs README.1ST doc/* |
pankso@2821 | 27 } |
pankso@2821 | 28 |
al@20575 | 29 genpkg_rules() { |
al@19753 | 30 case $PACKAGE in |
al@19753 | 31 lcms) |
al@19849 | 32 copy *.so* |
al@19753 | 33 ;; |
al@19753 | 34 lcms-apps) |
al@19753 | 35 copy bin/ |
al@19753 | 36 CAT="development|applications" |
al@20679 | 37 DEPENDS="lcms libjpeg-turbo tiff" |
al@19753 | 38 ;; |
al@19753 | 39 *-dev) copy @dev;; |
al@19753 | 40 esac |
pankso@2821 | 41 } |