wok view libraw/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents 9cb37f5af1e5
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libraw"
4 VERSION="0.19.5"
5 CATEGORY="multimedia"
6 SHORT_DESC="A library for reading RAW files obtained from digital photo cameras (CRW/CR2, NEF, RAF, DNG, and others)."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://www.libraw.org/"
11 SOURCE="LibRaw"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://www.libraw.org/data/$TARBALL"
15 DEPENDS="lcms"
16 BUILD_DEPENDS="lcms-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://www.libraw.org/download 2>/dev/null | \
22 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure $CONFIGURE_ARGS &&
29 make -j 1 &&
30 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 }