wok-6.x annotate rawstudio/receipt @ rev 9572
Up: xfce4-panel to 4.8.3.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Apr 11 23:47:34 2011 +0000 (2011-04-11) |
parents | 96a7cb8ba1fd |
children | 349909c15747 |
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 |
slaxemulator@6514 | 18 export PKG_CONFIG_PATH="/usr/lib/pkgconfig" |
pascal@8974 | 19 patch -p1 -i $stuff/rawstudio-const.patch |
slaxemulator@6514 | 20 ./configure \ |
slaxemulator@6514 | 21 --prefix=/usr \ |
slaxemulator@6514 | 22 --infodir=/usr/share/info \ |
slaxemulator@6514 | 23 --mandir=/usr/share/man \ |
slaxemulator@6514 | 24 $CONFIGURE_ARGS && |
slaxemulator@6514 | 25 make && make DESTDIR=$PWD/_pkg install |
slaxemulator@6514 | 26 } |
slaxemulator@6514 | 27 |
slaxemulator@6514 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6514 | 29 genpkg_rules() |
slaxemulator@6514 | 30 { |
slaxemulator@6514 | 31 mkdir -p $fs/usr/share |
slaxemulator@6514 | 32 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@6514 | 33 cp -a $_pkg/usr/share/applications $fs/usr/share |
slaxemulator@6514 | 34 cp -a $_pkg/usr/share/icons $fs/usr/share |
slaxemulator@6514 | 35 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
slaxemulator@6514 | 36 cp -a $_pkg/usr/share/rawstudio $fs/usr/share |
slaxemulator@6514 | 37 } |
slaxemulator@6514 | 38 |