wok annotate rawstudio/receipt @ rev 13222
Add python-oauth2
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sat Aug 11 22:52:03 2012 +0100 (2012-08-11) |
parents | 940b5937e496 |
children | 380ffe05937a |
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" |
slaxemulator@6514 | 8 DEPENDS="desktop-file-utils dbus exiv2 GConf gtk+ lcms jpeg libjpeg tiff libxml2" |
slaxemulator@6514 | 9 BUILD_DEPENDS="exiv2-dev GConf-dev gtk+-dev dbus-dev lcms-dev jpeg-dev tiff-dev libxml2-dev" |
slaxemulator@6514 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@6514 | 11 WEB_SITE="http://rawstudio.org/" |
slaxemulator@6514 | 12 WGET_URL="http://rawstudio.org/files/release/$TARBALL" |
slaxemulator@6514 | 13 |
slaxemulator@6514 | 14 # Rules to configure and make the package. |
slaxemulator@6514 | 15 compile_rules() |
slaxemulator@6514 | 16 { |
slaxemulator@6514 | 17 cd $src |
pascal@12903 | 18 export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11" |
slaxemulator@6514 | 19 export PKG_CONFIG_PATH="/usr/lib/pkgconfig" |
pascal@8974 | 20 patch -p1 -i $stuff/rawstudio-const.patch |
slaxemulator@6514 | 21 ./configure \ |
slaxemulator@6514 | 22 --prefix=/usr \ |
slaxemulator@6514 | 23 --infodir=/usr/share/info \ |
slaxemulator@6514 | 24 --mandir=/usr/share/man \ |
slaxemulator@6514 | 25 $CONFIGURE_ARGS && |
slaxemulator@6514 | 26 make && make DESTDIR=$PWD/_pkg install |
slaxemulator@6514 | 27 } |
slaxemulator@6514 | 28 |
slaxemulator@6514 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6514 | 30 genpkg_rules() |
slaxemulator@6514 | 31 { |
slaxemulator@6514 | 32 mkdir -p $fs/usr/share |
slaxemulator@6514 | 33 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@6514 | 34 cp -a $_pkg/usr/share/applications $fs/usr/share |
slaxemulator@6514 | 35 cp -a $_pkg/usr/share/icons $fs/usr/share |
slaxemulator@6514 | 36 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
slaxemulator@6514 | 37 cp -a $_pkg/usr/share/rawstudio $fs/usr/share |
slaxemulator@6514 | 38 } |
slaxemulator@6514 | 39 |