wok annotate ufraw/receipt @ rev 21115
libaio: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 19 18:51:13 2019 +0100 (2019-03-19) |
parents | 2b1a6b2f6c0d |
children | ada6eb908283 |
rev | line source |
---|---|
gokhlayeh@5872 | 1 # SliTaz package receipt. |
gokhlayeh@5872 | 2 |
gokhlayeh@5872 | 3 PACKAGE="ufraw" |
pankso@12741 | 4 VERSION="0.18" |
gokhlayeh@5872 | 5 CATEGORY="graphics" |
gokhlayeh@5872 | 6 SHORT_DESC="Utility to read and manipulate raw images from digital cameras." |
pankso@12741 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
gokhlayeh@5872 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@12741 | 10 WEB_SITE="http://ufraw.sourceforge.net/" |
pankso@12741 | 11 WGET_URL="$SF_MIRROR/project/ufraw/ufraw/ufraw-$VERSION/$TARBALL" |
pankso@12741 | 12 SUGGESTED="ufraw-locales gimp-plugin-ufraw" |
pankso@12741 | 13 |
pankso@12741 | 14 DEPENDS="gtk+ exiv2 lcms tiff libgtkimageview libgomp bzip2" |
pankso@12741 | 15 BUILD_DEPENDS="gimp gimp-dev lcms-dev tiff-dev exiv2-dev gtk+-dev \ |
pankso@12741 | 16 libgtkimageview-dev bzip2-dev" |
gokhlayeh@5872 | 17 |
gokhlayeh@5872 | 18 # Rules to configure and make the package. |
gokhlayeh@5872 | 19 compile_rules() |
gokhlayeh@5872 | 20 { |
gokhlayeh@5872 | 21 cd $src |
gokhlayeh@5872 | 22 ./configure \ |
gokhlayeh@5872 | 23 $CONFIGURE_ARGS && |
pankso@12741 | 24 make && make 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 |
pankso@12741 | 31 cp -a $install/usr/bin $fs/usr |
gokhlayeh@5872 | 32 cp -a $src/ufraw.desktop $fs/usr/share/applications |
gokhlayeh@5872 | 33 } |