wok view mupdf/receipt @ rev 10874

slitaz-tools-boxes: This can't be a wanted package. Compile_rules are made for non-wanted packages. Also tazwok doesn't execute compile_rules if its a wanted package.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Jun 19 12:25:19 2011 +0000 (2011-06-19)
parents d49d12b964ab
children 159a8b382826
line source
1 # SliTaz package receipt.
3 PACKAGE="mupdf"
4 VERSION="0.7"
5 CATEGORY="utilities"
6 SHORT_DESC="lightweight PDF viewer and toolkit written in portable C"
7 MAINTAINER="jozee@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 DEPENDS="freetype jpeg zlib jbig2dec openjpeg"
10 BUILD_DEPENDS="freetype-dev jpeg-dev openjpeg-dev jbig2dec-dev zlib-dev pkg-config xorg-libX11-dev xorg-libXext-dev xorg-xextproto ftjam"
11 WEB_SITE="http://mupdf.com/"
12 WGET_URL="http://mupdf.com/download/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i 's| debug| release|g' Makefile
19 make build=release
20 make build=release prefix=$PWD/_pkg/usr install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/bin
27 cp -a $_pkg/usr/bin $fs/usr
28 }