wok-next view nomacs/receipt @ rev 19990

lighttpd: add missing SPLIT
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 20 08:05:51 2017 +0200 (2017-10-20)
parents ac523a58b10d
children d986f4a717ee
line source
1 # SliTaz package receipt.
3 PACKAGE="nomacs"
4 VERSION="2.4.6"
5 CATEGORY="graphics"
6 SHORT_DESC="Pictures browser"
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.nomacs.org"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/nomacs/nomacs/archive/$VERSION.tar.gz"
13 DEPENDS="libQtCore libQtGui libQtNetwork libgomp exiv2"
14 BUILD_DEPENDS="Qt4-dev qmake cmake exiv2-dev libraw-dev zlib-dev expat-dev"
15 SUGGESTED="xdg-utils qtconfig"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src/ImageLounge/src/img
21 cp -f nomacs32.png nomacs.png
22 cd $src/ImageLounge ; sed -i 's/ ON/ OFF/g' CMakeLists.txt
23 mkdir build ; cd build
24 cmake \
25 -DENABLE_OPENCV=OFF \
26 -DENABLE_RAW=OFF \
27 -DENABLE_WEBP=OFF \
28 -DENABLE_TIFF=OFF \
29 -DDISABLE_QT_DEBUG=ON \
30 -DCMAKE_INSTALL_PREFIX=/usr ..
31 make
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cp -a $install/* $fs
39 rm -rf $src/build
40 cd $fs/usr/share/$PACKAGE/translations
41 find * -size -62k -delete
42 }