wok-6.x rev 6854
Up: mupdf to 0.7.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Oct 20 09:50:57 2010 +0000 (2010-10-20) |
parents | 8e1948126192 |
children | 7549d397630f |
files | mupdf/receipt |
line diff
1.1 --- a/mupdf/receipt Wed Oct 20 09:25:54 2010 +0000 1.2 +++ b/mupdf/receipt Wed Oct 20 09:50:57 2010 +0000 1.3 @@ -1,26 +1,28 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="mupdf" 1.7 -VERSION="latest" 1.8 +VERSION="0.7" 1.9 CATEGORY="utilities" 1.10 SHORT_DESC="lightweight PDF viewer and toolkit written in portable C" 1.11 MAINTAINER="jozee@slitaz.org" 1.12 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 -WEB_SITE="http://ccxvii.net/mupdf/" 1.14 -WGET_URL="http://ccxvii.net/mupdf/download/$TARBALL" 1.15 -BUILD_DEPENDS="ftjam" 1.16 -DEPENDS="freetype jpeg zlib" 1.17 +DEPENDS="freetype jpeg zlib jbig2dec openjpeg" 1.18 +BUILD_DEPENDS="freetype-dev jpeg-dev openjpeg-dev jbig2dec-dev zlib-dev pkg-config xorg-libX11-dev xorg-xextproto ftjam" 1.19 +WEB_SITE="http://mupdf.com/" 1.20 +WGET_URL="http://mupdf.com/download/$TARBALL" 1.21 1.22 # Rules to configure and make the package. 1.23 compile_rules() 1.24 { 1.25 - cd mupdf 1.26 - jam '-sBUILD=release' '-sDEFINES=NOCJK' 1.27 + cd $src 1.28 + sed -i 's| debug| release|g' Makefile 1.29 + make build=release 1.30 + make build=release prefix=$PWD/_pkg/usr install 1.31 } 1.32 1.33 # Rules to gen a SliTaz package suitable for Tazpkg. 1.34 genpkg_rules() 1.35 { 1.36 mkdir -p $fs/usr/bin 1.37 - cp mupdf/build/linux-x86-release/mupdf $fs/usr/bin/mupdf 1.38 + cp -a $_pkg/usr/bin $fs/usr 1.39 }