wok annotate mupdf/receipt @ rev 16556

Up: spk (1.4.2) - Critical bug fix for config files
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 30 14:37:37 2014 +0200 (2014-04-30)
parents b1a4866b6020
children bde28fa63512
rev   line source
jozee@6837 1 # SliTaz package receipt.
jozee@6837 2
jozee@6837 3 PACKAGE="mupdf"
al@14429 4 VERSION="1.2"
jozee@6837 5 CATEGORY="utilities"
al@14429 6 SHORT_DESC="A lightweight PDF and XPS viewer"
jozee@6837 7 MAINTAINER="jozee@slitaz.org"
al@14429 8 LICENSE="GPL3"
slaxemulator@6854 9 WEB_SITE="http://mupdf.com/"
al@14429 10 TARBALL="$PACKAGE-$VERSION-source.zip"
al@14429 11 WGET_URL="http://mupdf.googlecode.com/files/$TARBALL"
al@14429 12
al@14429 13 #DEPENDS="freetype jpeg zlib jbig2dec openjpeg"
al@14429 14 #BUILD_DEPENDS="freetype-dev jpeg-dev openjpeg-dev jbig2dec-dev zlib-dev pkg-config xorg-libX11-dev xorg-libXext-dev xorg-xextproto ftjam"
al@14429 15 DEPENDS="bzlib freetype jbig2dec openjpeg xorg-libXext"
al@14429 16 BUILD_DEPENDS="freetype-dev jbig2dec-dev jpeg-dev openjpeg-dev zlib-dev"
jozee@6837 17
jozee@6837 18 # Rules to configure and make the package.
jozee@6837 19 compile_rules()
jozee@6837 20 {
al@14429 21 # use system wide libraries instead of included ones
al@14429 22 rm -rf $src/thirdparty
slaxemulator@6854 23 make build=release
al@14429 24 make build=release prefix=/usr install
jozee@6837 25 }
jozee@6837 26
jozee@6837 27 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@6837 28 genpkg_rules()
jozee@6837 29 {
jozee@6837 30 mkdir -p $fs/usr/bin
al@14429 31 cp -a $install/usr/bin/mupdf $fs/usr/bin
jozee@6837 32 }