wok annotate libraw/receipt @ rev 23469
linux-zram: autostart (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 05 11:03:33 2020 +0200 (2020-04-05) |
parents | 1dc9b08bfcea |
children | ede1d184d5c5 |
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 |
slaxemulator@11411 | 18 # Rules to configure and make the package. |
slaxemulator@11411 | 19 compile_rules() |
slaxemulator@11411 | 20 { |
Hans-G?nter@21281 | 21 ./configure $CONFIGURE_ARGS && |
Hans-G?nter@21281 | 22 make -j 1 && |
Hans-G?nter@21281 | 23 make install |
slaxemulator@11411 | 24 } |
slaxemulator@11411 | 25 |
slaxemulator@11411 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@11411 | 27 genpkg_rules() |
slaxemulator@11411 | 28 { |
slaxemulator@11411 | 29 mkdir -p $fs/usr/lib |
Hans-G?nter@21281 | 30 |
Hans-G?nter@21281 | 31 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21281 | 32 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@11411 | 33 } |