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