wok-next annotate qiv/receipt @ rev 8161

imported patch commit_inprogress/flex.patch
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Jan 27 00:20:49 2011 +0100 (2011-01-27)
parents
children 23c3aed67cd9
rev   line source
devl547@5663 1 # SliTaz package receipt.
devl547@5663 2 PACKAGE="qiv"
devl547@5663 3 VERSION="2.2.3"
devl547@5663 4 CATEGORY="multimedia"
devl547@5663 5 SHORT_DESC="Quick Image Viewer"
devl547@5663 6 MAINTAINER="devl547@gmail.com"
devl547@5663 7 TARBALL="$PACKAGE-$VERSION.tgz"
devl547@5663 8 WEB_SITE="http://spiegl.de/qiv/"
devl547@5663 9 WGET_URL="$WEB_SITE/download/$TARBALL"
devl547@5663 10 BUILD_DEPENDS="gtk+-dev imlib2-dev"
devl547@5663 11 DEPENDS="gtk+ imlib2"
devl547@5663 12
devl547@5663 13 # Rules to configure and make the package.
devl547@5663 14 compile_rules()
devl547@5663 15 {
devl547@5663 16 cd $src
devl547@5663 17 sed -i 's/MAGIC = -DHAVE_MAGIC/# MAGIC = -DHAVE_MAGIC/' Makefile
devl547@5663 18 make
devl547@5663 19 }
devl547@5663 20
devl547@5663 21 # Rules to gen a SliTaz package suitable for Tazpkg.
devl547@5663 22 genpkg_rules()
devl547@5663 23 {
devl547@5663 24 mkdir -p $fs/usr/bin
devl547@5663 25 cp -a $src/qiv $fs/usr/bin
devl547@5663 26 }