wok-next view libraw/receipt @ rev 20845

Add neofetch, tcl2c-fork; build two versions of tklauncher (using tcl2c and tcl2c-fork) with different warnings
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jun 23 09:45:42 2018 +0300 (2018-06-23)
parents 5841522533ec
children f48456621a9d
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="slaxemulator@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://www.libraw.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/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="libraw-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 }