wok-next diff qiv/receipt @ rev 20861
gnutls: up (3.5.18); add libpsl and publicsuffix-list; sed: up (4.5); tar: up (1.30); tcpdump: up (4.9.2); wget: up (1.19.5); xz: up (5.2.4)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jun 28 00:30:02 2018 +0300 (2018-06-28) |
parents | 23c3aed67cd9 |
children | f48456621a9d |
line diff
1.1 --- a/qiv/receipt Thu Dec 05 20:23:08 2013 +0000 1.2 +++ b/qiv/receipt Thu Jun 28 00:30:02 2018 +0300 1.3 @@ -1,28 +1,25 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 + 1.7 PACKAGE="qiv" 1.8 VERSION="2.2.3" 1.9 CATEGORY="multimedia" 1.10 SHORT_DESC="Quick Image Viewer" 1.11 MAINTAINER="devl547@gmail.com" 1.12 LICENSE="GPL2" 1.13 +WEB_SITE="http://spiegl.de/qiv/" 1.14 + 1.15 TARBALL="$PACKAGE-$VERSION.tgz" 1.16 -WEB_SITE="http://spiegl.de/qiv/" 1.17 WGET_URL="$WEB_SITE/download/$TARBALL" 1.18 1.19 BUILD_DEPENDS="gtk+-dev imlib2-dev" 1.20 -DEPENDS="gtk+ imlib2" 1.21 1.22 -# Rules to configure and make the package. 1.23 -compile_rules() 1.24 -{ 1.25 - cd $src 1.26 +compile_rules() { 1.27 sed -i 's/MAGIC = -DHAVE_MAGIC/# MAGIC = -DHAVE_MAGIC/' Makefile 1.28 - make 1.29 + make && 1.30 + install -Dm 755 $src/qiv $install/usr/bin/qiv 1.31 } 1.32 1.33 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.34 -genpkg_rules() 1.35 -{ 1.36 - mkdir -p $fs/usr/bin 1.37 - cp -a $src/qiv $fs/usr/bin 1.38 +genpkg_rules() { 1.39 + copy @std 1.40 + DEPENDS="gtk+ imlib2" 1.41 }