wok view mupdf/receipt @ rev 12300
linux: do not create /tmp
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 16 13:24:39 2012 +0200 (2012-04-16) |
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 }