wok-next annotate 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 |
rev | line source |
---|---|
psychomaniak@17122 | 1 # SliTaz package receipt. |
psychomaniak@17122 | 2 |
psychomaniak@17122 | 3 PACKAGE="djview" |
psychomaniak@18071 | 4 VERSION="4.10.3" |
psychomaniak@17122 | 5 CATEGORY="graphics" |
psychomaniak@18075 | 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/" |
al@20882 | 10 REPOLOGY="djview4" |
al@20882 | 11 |
psychomaniak@17122 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@18074 | 13 WGET_URL="$SF_MIRROR/djvu/$TARBALL" |
psychomaniak@17122 | 14 |
al@20502 | 15 BUILD_DEPENDS="qt5-dev djvulibre-dev gzip xorg-dev zlib-dev expat-dev mesa-dev" |
psychomaniak@17122 | 16 |
al@21020 | 17 compile_rules() { |
psychomaniak@17122 | 18 ./configure |
psychomaniak@17122 | 19 sed -i 's/-O2/-Os/g' $src/src/Makefile |
psychomaniak@17122 | 20 make && |
psychomaniak@17122 | 21 make install |
psychomaniak@17122 | 22 } |
psychomaniak@17122 | 23 |
al@21020 | 24 genpkg_rules() { |
psychomaniak@17122 | 25 cp -a $install/* $fs |
psychomaniak@18071 | 26 ln -s djview $fs/usr/bin/djview4 |
psychomaniak@18071 | 27 cd $fs/usr/share/icons/hicolor/32x32/ |
psychomaniak@18071 | 28 mv mime* apps |
psychomaniak@18071 | 29 rm -rf ../64x64 ../scalable $fs/usr/lib/*/*/*.la |
al@21020 | 30 DEPENDS="qt5-base djvulibre" |
psychomaniak@17122 | 31 } |