wok-next view djview/receipt @ rev 20882

Check Repology info from a* to g* packages
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jul 10 20:08:05 2018 +0300 (2018-07-10)
parents c0521c689857
children d5aab818505e
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 REPOLOGY="djview4"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/djvu/$TARBALL"
15 DEPENDS="qt5-base djvulibre"
16 BUILD_DEPENDS="qt5-dev djvulibre-dev gzip xorg-dev zlib-dev expat-dev mesa-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure
22 sed -i 's/-O2/-Os/g' $src/src/Makefile
23 make &&
24 make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cp -a $install/* $fs
31 ln -s djview $fs/usr/bin/djview4
32 cd $fs/usr/share/icons/hicolor/32x32/
33 mv mime* apps
34 rm -rf ../64x64 ../scalable $fs/usr/lib/*/*/*.la
35 }