wok-next view libraw/receipt @ rev 21722

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
parents fcef1cda9393
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libraw"
4 VERSION="0.19.5"
5 CATEGORY="graphics"
6 SHORT_DESC="RAW image decoder library"
7 MAINTAINER="maintainer@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="jasper-dev lcms2-dev libjpeg-turbo-dev"
16 SPLIT="$PACKAGE-dev"
18 compile_rules()
19 {
20 CXX="g++ -Wno-narrowing" \
21 ./configure \
22 --enable-jpeg \
23 --enable-jasper \
24 --enable-lcms \
25 --disable-static \
26 $CONFIGURE_ARGS &&
27 fix libtool &&
28 make &&
29 make install
30 }
32 genpkg_rules()
33 {
34 case $PACKAGE in
35 libraw)
36 copy @std
37 DEPENDS="jasper liblcms2 libgomp libjpeg-turbo"
38 ;;
39 *-dev)
40 copy @dev
41 DEPENDS="lcms2-dev libraw"
42 ;;
43 esac
44 }