wok-next view nomacs/receipt @ rev 19996

Add hyphen
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Fri Oct 20 16:30:46 2017 +0200 (2017-10-20)
parents d986f4a717ee
children 4db41c0dada2
line source
1 # SliTaz package receipt.
3 PACKAGE="nomacs"
4 VERSION="3.6.1"
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="qt5"
14 BUILD_DEPENDS="qt5-dev cmake exiv2-dev libraw-dev zlib-dev expat-dev mesa17-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src/ImageLounge/src/img
20 cp -f nomacs32.png nomacs.png
21 cd $src/ImageLounge ; sed -i 's/ ON/ OFF/g' CMakeLists.txt
22 mkdir build ; cd build
23 cmake \
24 -DENABLE_OPENCV=OFF \
25 -DENABLE_RAW=OFF \
26 -DENABLE_WEBP=OFF \
27 -DENABLE_TIFF=OFF \
28 -DDISABLE_QT_DEBUG=ON \
29 -DCMAKE_INSTALL_PREFIX=/usr ..
30 make
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/* $fs
38 rm -rf $src/build
39 cd $fs/usr/share/$PACKAGE/translations
40 find * -size -62k -delete
41 }