wok view libraw/receipt @ rev 25680

updated gnu-efi (3.0.14 -> 3.0.17)
author Hans-G?nter Theisgen
date Mon Mar 18 18:46:02 2024 +0100 (8 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 }