wok-current annotate rawstudio/receipt @ rev 18064
Up tazpanel (498), tazpkg (806).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon May 18 17:20:03 2015 +0300 (2015-05-18) |
parents | 380ffe05937a |
children | 6135577f4d08 |
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" |
slaxemulator@6514 | 10 WEB_SITE="http://rawstudio.org/" |
slaxemulator@6514 | 11 WGET_URL="http://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 |
slaxemulator@6514 | 16 # Rules to configure and make the package. |
slaxemulator@6514 | 17 compile_rules() |
slaxemulator@6514 | 18 { |
slaxemulator@6514 | 19 cd $src |
pascal@17670 | 20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11" |
slaxemulator@6514 | 21 export PKG_CONFIG_PATH="/usr/lib/pkgconfig" |
pascal@8974 | 22 patch -p1 -i $stuff/rawstudio-const.patch |
slaxemulator@6514 | 23 ./configure \ |
slaxemulator@6514 | 24 --prefix=/usr \ |
slaxemulator@6514 | 25 --infodir=/usr/share/info \ |
slaxemulator@6514 | 26 --mandir=/usr/share/man \ |
slaxemulator@6514 | 27 $CONFIGURE_ARGS && |
pascal@15000 | 28 make && make DESTDIR=$DESTDIR install |
slaxemulator@6514 | 29 } |
slaxemulator@6514 | 30 |
slaxemulator@6514 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6514 | 32 genpkg_rules() |
slaxemulator@6514 | 33 { |
slaxemulator@6514 | 34 mkdir -p $fs/usr/share |
pascal@15000 | 35 cp -a $install/usr/bin $fs/usr |
pascal@15000 | 36 cp -a $install/usr/share/applications $fs/usr/share |
pascal@15000 | 37 cp -a $install/usr/share/icons $fs/usr/share |
pascal@15000 | 38 cp -a $install/usr/share/pixmaps $fs/usr/share |
pascal@15000 | 39 cp -a $install/usr/share/rawstudio $fs/usr/share |
slaxemulator@6514 | 40 } |
slaxemulator@6514 | 41 |