wok-current view rawstudio/receipt @ rev 24507
updated easy-rsa (3.0.6 -> 3.0.8)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 20 16:37:53 2022 +0100 (2022-02-20) |
parents | b7fb685005b4 |
children | 3258d19b6f6c |
line source
1 # SliTaz package receipt.
3 PACKAGE="rawstudio"
4 VERSION="1.2"
5 CATEGORY="graphics"
6 SHORT_DESC="An open source raw-image converter written in GTK+"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://rawstudio.org/"
11 WGET_URL="https://rawstudio.org/files/release/$TARBALL"
13 DEPENDS="desktop-file-utils dbus exiv2 GConf gtk+ lcms jpeg libjpeg tiff libxml2"
14 BUILD_DEPENDS="exiv2-dev GConf-dev gtk+-dev dbus-dev lcms-dev jpeg-dev tiff-dev libxml2-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;/RC/d;/BETA/d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 sed -i 's|.*exiv2/image.hpp.*|#include <exiv2/exiv2.hpp>\n&|' src/rs-exif.cc
27 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
28 export PKG_CONFIG_PATH="/usr/lib/pkgconfig"
29 patch -p1 -i $stuff/rawstudio-const.patch
30 ./configure \
31 --prefix=/usr \
32 --infodir=/usr/share/info \
33 --mandir=/usr/share/man \
34 $CONFIGURE_ARGS &&
35 make && make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/share
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/share/applications $fs/usr/share
44 cp -a $install/usr/share/icons $fs/usr/share
45 cp -a $install/usr/share/pixmaps $fs/usr/share
46 cp -a $install/usr/share/rawstudio $fs/usr/share
47 }