wok-6.x view djview/receipt @ rev 18072
djvulibre, djview: fix bad value of $SF_MIRROR, use downloads (may mix html+binary data with busybox wget)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Thu May 21 16:13:49 2015 +0200 (2015-05-21) |
parents | 5de0cc26f88c |
children | f1b019f776c9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="djview"
4 VERSION="4.10.3"
5 CATEGORY="graphics"
6 SHORT_DESC="Djvu files viewer."
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="GPL2"
9 WEB_SITE="http://djvu.sourceforge.net/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 # WGET_URL="$SF_MIRROR/djvu/$TARBALL"
12 WGET_URL="${WEB_SITE/djvu/downloads}/djvu/$TARBALL"
14 DEPENDS="libQtGui libQtNetwork djvulibre"
15 BUILD_DEPENDS="qmake Qt4-dev djvulibre-dev gzip wget"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure
21 sed -i 's/-O2/-Os/g' $src/src/Makefile
22 make &&
23 make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 cp -a $install/* $fs
30 ln -s djview $fs/usr/bin/djview4
31 cd $fs/usr/share/icons/hicolor/32x32/
32 mv mime* apps
33 rm -rf ../64x64 ../scalable $fs/usr/lib/*/*/*.la
34 }