wok-next annotate rawstudio/receipt @ rev 21432
updated rawstudio (1.2 -> 2.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue May 05 09:38:29 2020 +0100 (2020-05-05) |
parents | 29128929e4f9 |
children |
rev | line source |
---|---|
slaxemulator@6514 | 1 # SliTaz package receipt. |
slaxemulator@6514 | 2 |
slaxemulator@6514 | 3 PACKAGE="rawstudio" |
Hans-G?nter@21432 | 4 VERSION="2.0" |
slaxemulator@6514 | 5 CATEGORY="graphics" |
slaxemulator@6514 | 6 SHORT_DESC="An open source raw-image converter written in GTK+" |
Hans-G?nter@21432 | 7 MAINTAINER="maintainer@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
al@21041 | 9 WEB_SITE="https://rawstudio.org/" |
al@21041 | 10 |
slaxemulator@6514 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@6514 | 12 WGET_URL="http://rawstudio.org/files/release/$TARBALL" |
slaxemulator@6514 | 13 |
Hans-G?nter@21432 | 14 DEPENDS="dbus desktop-file-utils exiv2 gconf gtk2 jpeg libjpeg liblcms libtiff libxml2" |
Hans-G?nter@21432 | 15 BUILD_DEPENDS="dbus-dev exiv2-dev gconf-dev gtk2-dev jpeg-dev lcms-dev libxml2-dev tiff-dev" |
pascal@15000 | 16 |
Hans-G?nter@21432 | 17 compile_rules() |
Hans-G?nter@21432 | 18 { |
pascal@20007 | 19 export CXXFLAGS="-Wno-narrowing" |
pascal@17670 | 20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11" |
slaxemulator@6514 | 21 export PKG_CONFIG_PATH="/usr/lib/pkgconfig" |
al@20661 | 22 |
Hans-G?nter@21432 | 23 ./configure \ |
Hans-G?nter@21432 | 24 --prefix=/usr \ |
Hans-G?nter@21432 | 25 --infodir=/usr/share/info \ |
Hans-G?nter@21432 | 26 --mandir=/usr/share/man \ |
slaxemulator@6514 | 27 $CONFIGURE_ARGS && |
al@21020 | 28 make && |
al@21020 | 29 make DESTDIR=$install install |
slaxemulator@6514 | 30 } |
slaxemulator@6514 | 31 |
Hans-G?nter@21432 | 32 genpkg_rules() |
Hans-G?nter@21432 | 33 { |
slaxemulator@6514 | 34 mkdir -p $fs/usr/share |
Hans-G?nter@21432 | 35 |
Hans-G?nter@21432 | 36 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21432 | 37 cp -a $install/usr/share/applications $fs/usr/share |
Hans-G?nter@21432 | 38 cp -a $install/usr/share/icons $fs/usr/share |
Hans-G?nter@21432 | 39 cp -a $install/usr/share/pixmaps $fs/usr/share |
Hans-G?nter@21432 | 40 cp -a $install/usr/share/rawstudio $fs/usr/share |
slaxemulator@6514 | 41 } |