wok-6.x view qiv/receipt @ rev 19774

some *-dev depend on pkg-config
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 21 15:50:51 2017 +0100 (2017-02-21)
parents d4a5cc025317
children 0aac953f4b57
line source
1 # SliTaz package receipt.
2 PACKAGE="qiv"
3 VERSION="2.2.3"
4 CATEGORY="multimedia"
5 SHORT_DESC="Quick Image Viewer"
6 MAINTAINER="devl547@gmail.com"
7 LICENSE="GPL2"
8 TARBALL="$PACKAGE-$VERSION.tgz"
9 WEB_SITE="http://spiegl.de/qiv/"
10 WGET_URL="$WEB_SITE/download/$TARBALL"
12 BUILD_DEPENDS="gtk+-dev imlib2-dev"
13 DEPENDS="gtk+ imlib2"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 sed -i 's/MAGIC = -DHAVE_MAGIC/# MAGIC = -DHAVE_MAGIC/' Makefile
20 make
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/bin
27 cp -a $src/qiv $fs/usr/bin
28 }