wok-next annotate lcms/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 | 1ca369c9f448 |
children | d5aab818505e |
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" |
pankso@2821 | 7 MAINTAINER="pankso@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@19753 | 16 SPLIT="lcms-dev lcms-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 } |