wok-next view libraw/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 | 29128929e4f9 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libraw"
4 VERSION="0.18.7"
5 CATEGORY="graphics"
6 SHORT_DESC="RAW image decoder library"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://www.libraw.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/libraw.html"
12 TARBALL="LibRaw-$VERSION.tar.gz"
13 WGET_URL="http://www.libraw.org/data/$TARBALL"
15 BUILD_DEPENDS="libjpeg-turbo-dev lcms2-dev jasper-dev"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 CXX="g++ -Wno-narrowing" \
20 ./configure \
21 --enable-jpeg \
22 --enable-jasper \
23 --enable-lcms \
24 --disable-static \
25 $CONFIGURE_ARGS &&
26 fix libtool &&
27 make &&
28 make install
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 libraw)
34 copy @std
35 DEPENDS="jasper lcms2 libgomp libjpeg-turbo"
36 ;;
37 *-dev)
38 copy @dev
39 DEPENDS="libraw lcms2-dev"
40 ;;
41 esac
42 }