wok-6.x view djview/receipt @ rev 23654
Up openssh (8.2p1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 21 06:14:03 2020 +0000 (2020-04-21) |
parents | 5a6a003000d9 |
children | 370da83187ab |
line source
1 # SliTaz package receipt.
3 PACKAGE="djview"
4 VERSION="4.10.6"
5 CATEGORY="graphics"
6 SHORT_DESC="Djvu files viewer."
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="GPL2"
9 WEB_SITE="http://djvu.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://sourceforge.net/projects/djvu/files/DjView/${VERSION%.*}/$TARBALL"
14 DEPENDS="djvulibre libQtGui libQtNetwork libQtOpenGL"
15 BUILD_DEPENDS="djvulibre-dev file mesa-dev qmake Qt4-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure
21 sed -i 's/-O2/-Os/g' 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
34 rm -rf ../scalable
35 rm -rf $fs/usr/lib/*/*/*.la
36 }