wok-6.x annotate djview/receipt @ rev 23727
updated vnstat (2.4 -> 2.6)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 30 17:49:28 2020 +0100 (2020-04-30) |
parents | 5a6a003000d9 |
children | 370da83187ab |
rev | line source |
---|---|
psychomaniak@17122 | 1 # SliTaz package receipt. |
psychomaniak@17122 | 2 |
psychomaniak@17122 | 3 PACKAGE="djview" |
Hans-G?nter@22649 | 4 VERSION="4.10.6" |
psychomaniak@17122 | 5 CATEGORY="graphics" |
Hans-G?nter@22649 | 6 SHORT_DESC="Djvu files viewer." |
psychomaniak@17122 | 7 MAINTAINER="psychomaniak@xakep.ru" |
psychomaniak@17122 | 8 LICENSE="GPL2" |
psychomaniak@17122 | 9 WEB_SITE="http://djvu.sourceforge.net/" |
Hans-G?nter@22649 | 10 |
psychomaniak@17122 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22650 | 12 WGET_URL="https://sourceforge.net/projects/djvu/files/DjView/${VERSION%.*}/$TARBALL" |
psychomaniak@17122 | 13 |
Hans-G?nter@22649 | 14 DEPENDS="djvulibre libQtGui libQtNetwork libQtOpenGL" |
Hans-G?nter@22649 | 15 BUILD_DEPENDS="djvulibre-dev file mesa-dev qmake Qt4-dev" |
psychomaniak@17122 | 16 |
psychomaniak@17122 | 17 # Rules to configure and make the package. |
psychomaniak@17122 | 18 compile_rules() |
psychomaniak@17122 | 19 { |
psychomaniak@17122 | 20 ./configure |
Hans-G?nter@22649 | 21 sed -i 's/-O2/-Os/g' src/Makefile |
psychomaniak@17122 | 22 make && |
psychomaniak@17122 | 23 make install |
psychomaniak@17122 | 24 } |
psychomaniak@17122 | 25 |
psychomaniak@17122 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
psychomaniak@17122 | 27 genpkg_rules() |
psychomaniak@17122 | 28 { |
Hans-G?nter@22649 | 29 cp -a $install/* $fs |
Hans-G?nter@22649 | 30 ln -s djview $fs/usr/bin/djview4 |
psychomaniak@18071 | 31 cd $fs/usr/share/icons/hicolor/32x32/ |
psychomaniak@18071 | 32 mv mime* apps |
Hans-G?nter@22649 | 33 rm -rf ../64x64 |
Hans-G?nter@22649 | 34 rm -rf ../scalable |
Hans-G?nter@22649 | 35 rm -rf $fs/usr/lib/*/*/*.la |
psychomaniak@17122 | 36 } |