wok annotate libraw/receipt @ rev 25191
updated python-cryptography (2.8 -> 3.3.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 10:08:55 2022 +0100 (2022-07-13) |
parents | 9cb37f5af1e5 |
children |
rev | line source |
---|---|
slaxemulator@11411 | 1 # SliTaz package receipt. |
slaxemulator@11411 | 2 |
slaxemulator@11411 | 3 PACKAGE="libraw" |
Hans-G?nter@23098 | 4 VERSION="0.19.5" |
slaxemulator@11411 | 5 CATEGORY="multimedia" |
Hans-G?nter@21281 | 6 SHORT_DESC="A library for reading RAW files obtained from digital photo cameras (CRW/CR2, NEF, RAF, DNG, and others)." |
slaxemulator@11411 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15482 | 8 LICENSE="LGPL2.1" |
pascal@20671 | 9 WEB_SITE="https://www.libraw.org/" |
Hans-G?nter@21281 | 10 |
slaxemulator@11411 | 11 SOURCE="LibRaw" |
slaxemulator@11411 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@20671 | 13 WGET_URL="https://www.libraw.org/data/$TARBALL" |
slaxemulator@11411 | 14 |
slaxemulator@11411 | 15 DEPENDS="lcms" |
slaxemulator@11411 | 16 BUILD_DEPENDS="lcms-dev" |
slaxemulator@11411 | 17 |
pascal@24447 | 18 # What is the latest version available today? |
pascal@24447 | 19 current_version() |
pascal@24447 | 20 { |
pascal@24447 | 21 wget -O - https://www.libraw.org/download 2>/dev/null | \ |
pascal@24447 | 22 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24447 | 23 } |
pascal@24447 | 24 |
slaxemulator@11411 | 25 # Rules to configure and make the package. |
slaxemulator@11411 | 26 compile_rules() |
slaxemulator@11411 | 27 { |
Hans-G?nter@21281 | 28 ./configure $CONFIGURE_ARGS && |
Hans-G?nter@21281 | 29 make -j 1 && |
Hans-G?nter@21281 | 30 make install |
slaxemulator@11411 | 31 } |
slaxemulator@11411 | 32 |
slaxemulator@11411 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@11411 | 34 genpkg_rules() |
slaxemulator@11411 | 35 { |
slaxemulator@11411 | 36 mkdir -p $fs/usr/lib |
Hans-G?nter@21281 | 37 |
Hans-G?nter@21281 | 38 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21281 | 39 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@11411 | 40 } |