wok-next annotate qiv/receipt @ rev 17465
Up git (2.2.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 22 15:08:02 2014 +0100 (2014-12-22) |
parents | d4a5cc025317 |
children | 2f03cb67a994 |
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" |
pascal@15601 | 7 LICENSE="GPL2" |
devl547@5663 | 8 TARBALL="$PACKAGE-$VERSION.tgz" |
devl547@5663 | 9 WEB_SITE="http://spiegl.de/qiv/" |
devl547@5663 | 10 WGET_URL="$WEB_SITE/download/$TARBALL" |
pascal@15601 | 11 |
devl547@5663 | 12 BUILD_DEPENDS="gtk+-dev imlib2-dev" |
devl547@5663 | 13 DEPENDS="gtk+ imlib2" |
devl547@5663 | 14 |
devl547@5663 | 15 # Rules to configure and make the package. |
devl547@5663 | 16 compile_rules() |
devl547@5663 | 17 { |
devl547@5663 | 18 cd $src |
devl547@5663 | 19 sed -i 's/MAGIC = -DHAVE_MAGIC/# MAGIC = -DHAVE_MAGIC/' Makefile |
devl547@5663 | 20 make |
devl547@5663 | 21 } |
devl547@5663 | 22 |
devl547@5663 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@5663 | 24 genpkg_rules() |
devl547@5663 | 25 { |
devl547@5663 | 26 mkdir -p $fs/usr/bin |
devl547@5663 | 27 cp -a $src/qiv $fs/usr/bin |
devl547@5663 | 28 } |