wok-6.x view nomacs/receipt @ rev 23317
updated perl-devel-checklib (1.13 -> 1.14)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 30 15:44:27 2020 +0100 (2020-03-30) |
parents | |
children | afae00265386 |
line source
1 # SliTaz package receipt.
3 PACKAGE="nomacs"
4 VERSION="1.6.0"
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.bz2"
11 WGET_URL="$SF_MIRROR/$PACKAGE/files/$PACKAGE-$VERSION-source.tar.bz2"
13 DEPENDS="libQtCore libQtGui libQtNetwork libgomp exiv2"
14 BUILD_DEPENDS="Qt4-dev qmake cmake exiv2-dev libraw-dev"
15 SUGGESTED="xdg-utils qtconfig"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src/src/img ; cp -f nomacs32.png nomacs.png
21 cd $src ; 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 }