wok diff djview/receipt @ rev 17454

syslinux/iso2exe: create a vfat partition in usb bootkey (DOS case only)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 18 11:42:27 2014 +0100 (2014-12-18)
parents
children 5de0cc26f88c
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/djview/receipt	Thu Dec 18 11:42:27 2014 +0100
     1.3 @@ -0,0 +1,35 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="djview"
     1.7 +VERSION="4.9"
     1.8 +CATEGORY="graphics"
     1.9 +SHORT_DESC="Djvu files viewer."
    1.10 +MAINTAINER="psychomaniak@xakep.ru"
    1.11 +LICENSE="GPL2"
    1.12 +WEB_SITE="http://djvu.sourceforge.net/"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WGET_URL="$SF_MIRROR/djvu/$TARBALL"
    1.15 +
    1.16 +DEPENDS="libQtGui libQtNetwork djvulibre"
    1.17 +BUILD_DEPENDS="qmake Qt4-dev djvulibre-dev"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	./configure
    1.23 +	sed -i 's/-O2/-Os/g' $src/src/Makefile
    1.24 +	make &&
    1.25 +	make install
    1.26 +}
    1.27 +
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +	cp -a $install/* $fs
    1.32 +	mkdir -p $fs/usr/share/applications $fs/usr/share/icons/hicolor/32x32/apps
    1.33 +	cd $fs/usr/share/djvu/djview4/desktop
    1.34 +	mv djvulibre-djview4.desktop $fs/usr/share/applications
    1.35 +	mv hi32-djview4.png $fs/usr/share/icons/hicolor/32x32/apps/djvulibre-djview4.png
    1.36 +	rm -rf *.png *.svgz
    1.37 +	rm -rf $fs/usr/lib
    1.38 +}