wok-current view mupdf/receipt @ rev 14429

fix openjpeg-dev, add openjpeg2, rebuild mupdf, move from undigest djvulibre, and finally add fbpdf-mupdf
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Apr 24 14:06:49 2013 +0000 (2013-04-24)
parents b1a4866b6020
children bde28fa63512
line source
1 # SliTaz package receipt.
3 PACKAGE="mupdf"
4 VERSION="1.2"
5 CATEGORY="utilities"
6 SHORT_DESC="A lightweight PDF and XPS viewer"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://mupdf.com/"
10 TARBALL="$PACKAGE-$VERSION-source.zip"
11 WGET_URL="http://mupdf.googlecode.com/files/$TARBALL"
13 #DEPENDS="freetype jpeg zlib jbig2dec openjpeg"
14 #BUILD_DEPENDS="freetype-dev jpeg-dev openjpeg-dev jbig2dec-dev zlib-dev pkg-config xorg-libX11-dev xorg-libXext-dev xorg-xextproto ftjam"
15 DEPENDS="bzlib freetype jbig2dec openjpeg xorg-libXext"
16 BUILD_DEPENDS="freetype-dev jbig2dec-dev jpeg-dev openjpeg-dev zlib-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 # use system wide libraries instead of included ones
22 rm -rf $src/thirdparty
23 make build=release
24 make build=release prefix=/usr install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin
31 cp -a $install/usr/bin/mupdf $fs/usr/bin
32 }