wok annotate ufraw/receipt @ rev 7845

busybox-static: add chroot
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 28 16:44:48 2010 +0100 (2010-12-28)
parents 3a5b24125557
children 8b934aefd3ce
rev   line source
gokhlayeh@5872 1 # SliTaz package receipt.
gokhlayeh@5872 2
gokhlayeh@5872 3 PACKAGE="ufraw"
gokhlayeh@5872 4 VERSION="0.17"
gokhlayeh@5872 5 CATEGORY="graphics"
gokhlayeh@5872 6 SHORT_DESC="Utility to read and manipulate raw images from digital cameras."
gokhlayeh@7034 7 MAINTAINER="gokhlayeh@slitaz.org"
gokhlayeh@5872 8 DEPENDS="gtk+ exiv2 libgtkimageview libgomp"
gokhlayeh@5872 9 BUILD_DEPENDS="gimp-dev lcms-dev tiff-dev exiv2-dev gtk+-dev libgtkimageview-dev"
gokhlayeh@5872 10 SUGGESTED="ufraw-locales"
gokhlayeh@5872 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
gokhlayeh@5872 12 WEB_SITE="http://ufraw.sourceforge.net/"
gokhlayeh@5872 13 WGET_URL="http://downloads.sourceforge.net/project/ufraw/ufraw/ufraw-$VERSION/$TARBALL"
gokhlayeh@5872 14
gokhlayeh@5872 15 # Rules to configure and make the package.
gokhlayeh@5872 16 compile_rules()
gokhlayeh@5872 17 {
gokhlayeh@5872 18 cd $src
gokhlayeh@5872 19 ./configure \
gokhlayeh@5872 20 --prefix=/usr \
gokhlayeh@5872 21 --infodir=/usr/share/info \
gokhlayeh@5872 22 --mandir=/usr/share/man \
gokhlayeh@5872 23 $CONFIGURE_ARGS &&
gokhlayeh@5872 24 make && make DESTDIR=$PWD/_pkg install
gokhlayeh@5872 25 }
gokhlayeh@5872 26
gokhlayeh@5872 27 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@5872 28 genpkg_rules()
gokhlayeh@5872 29 {
gokhlayeh@5872 30 mkdir -p $fs/usr/share/applications
gokhlayeh@5872 31 cp -a $_pkg/usr/bin $fs/usr
gokhlayeh@5872 32 cp -a $src/ufraw.desktop $fs/usr/share/applications
gokhlayeh@5872 33 }
gokhlayeh@5872 34