wok-next view djview/receipt @ rev 21599

updated drakon-editor (1.26 -> 1.31)
author Hans-G?nter Theisgen
date Wed Jun 24 14:49:10 2020 +0100 (2020-06-24)
parents d958fec46c9f
children
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 BUILD_DEPENDS="qt5-dev djvulibre-dev gzip xorg-dev zlib-dev expat-dev mesa-dev"
17 compile_rules() {
18 ./configure
19 sed -i 's/-O2/-Os/g' $src/src/Makefile
20 make &&
21 make install
22 }
24 genpkg_rules() {
25 cp -a $install/* $fs
26 ln -s djview $fs/usr/bin/djview4
27 cd $fs/usr/share/icons/hicolor/32x32/
28 mv mime* apps
29 rm -rf ../64x64 ../scalable $fs/usr/lib/*/*/*.la
30 DEPENDS="qt5-base djvulibre"
31 }