wok-next annotate libraw/receipt @ rev 21592

updated dkms (2.1.1.2 -> 2.8.2)
author Hans-G?nter Theisgen
date Wed Jun 24 07:35:54 2020 +0100 (2020-06-24)
parents fcef1cda9393
children
rev   line source
al@19796 1 # SliTaz package receipt v2.
slaxemulator@11411 2
slaxemulator@11411 3 PACKAGE="libraw"
Hans-G?nter@21328 4 VERSION="0.19.5"
al@19693 5 CATEGORY="graphics"
al@20645 6 SHORT_DESC="RAW image decoder library"
Hans-G?nter@21328 7 MAINTAINER="maintainer@slitaz.org"
pascal@15482 8 LICENSE="LGPL2.1"
al@19693 9 WEB_SITE="https://www.libraw.org/"
al@21017 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/libraw.html"
al@19693 11
al@19693 12 TARBALL="LibRaw-$VERSION.tar.gz"
slaxemulator@11411 13 WGET_URL="http://www.libraw.org/data/$TARBALL"
slaxemulator@11411 14
Hans-G?nter@21330 15 BUILD_DEPENDS="jasper-dev lcms2-dev libjpeg-turbo-dev"
al@21020 16 SPLIT="$PACKAGE-dev"
slaxemulator@11411 17
Hans-G?nter@21328 18 compile_rules()
Hans-G?nter@21328 19 {
Hans-G?nter@21328 20 CXX="g++ -Wno-narrowing" \
Hans-G?nter@21328 21 ./configure \
Hans-G?nter@21328 22 --enable-jpeg \
Hans-G?nter@21328 23 --enable-jasper \
Hans-G?nter@21328 24 --enable-lcms \
Hans-G?nter@21328 25 --disable-static \
al@19693 26 $CONFIGURE_ARGS &&
al@20595 27 fix libtool &&
al@20595 28 make &&
al@20595 29 make install
slaxemulator@11411 30 }
slaxemulator@11411 31
Hans-G?nter@21328 32 genpkg_rules()
Hans-G?nter@21328 33 {
al@19796 34 case $PACKAGE in
al@20645 35 libraw)
al@20645 36 copy @std
al@21143 37 DEPENDS="jasper liblcms2 libgomp libjpeg-turbo"
al@20645 38 ;;
al@20645 39 *-dev)
al@20645 40 copy @dev
Hans-G?nter@21328 41 DEPENDS="lcms2-dev libraw"
al@20645 42 ;;
al@19796 43 esac
slaxemulator@11411 44 }