wok-next view djview/receipt @ rev 19507

Update SliTaz projects: slitaz-base-files(316), slitaz-tools(1006), tazinst(84), tazlito(443), tazpanel(609), tazpkg(928), tazusb(193), tazweb(173).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Nov 20 00:33:44 2016 +0200 (2016-11-20)
parents c5e30f3bd313
children 4db41c0dada2
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"
13 DEPENDS="libQtGui libQtNetwork libQtOpenGL djvulibre"
14 BUILD_DEPENDS="qmake Qt4-dev djvulibre-dev gzip wget mesa-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure
20 sed -i 's/-O2/-Os/g' $src/src/Makefile
21 make &&
22 make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 cp -a $install/* $fs
29 ln -s djview $fs/usr/bin/djview4
30 cd $fs/usr/share/icons/hicolor/32x32/
31 mv mime* apps
32 rm -rf ../64x64 ../scalable $fs/usr/lib/*/*/*.la
33 }