# HG changeset patch # User Christopher Rogers # Date 1287568257 0 # Node ID d49d12b964abd7d570080ee631d89471cad77f37 # Parent 8e1948126192753c769bb6304d94935e5ea86a20 Up: mupdf to 0.7. diff -r 8e1948126192 -r d49d12b964ab mupdf/receipt --- a/mupdf/receipt Wed Oct 20 09:25:54 2010 +0000 +++ b/mupdf/receipt Wed Oct 20 09:50:57 2010 +0000 @@ -1,26 +1,28 @@ # SliTaz package receipt. PACKAGE="mupdf" -VERSION="latest" +VERSION="0.7" CATEGORY="utilities" SHORT_DESC="lightweight PDF viewer and toolkit written in portable C" MAINTAINER="jozee@slitaz.org" TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://ccxvii.net/mupdf/" -WGET_URL="http://ccxvii.net/mupdf/download/$TARBALL" -BUILD_DEPENDS="ftjam" -DEPENDS="freetype jpeg zlib" +DEPENDS="freetype jpeg zlib jbig2dec openjpeg" +BUILD_DEPENDS="freetype-dev jpeg-dev openjpeg-dev jbig2dec-dev zlib-dev pkg-config xorg-libX11-dev xorg-xextproto ftjam" +WEB_SITE="http://mupdf.com/" +WGET_URL="http://mupdf.com/download/$TARBALL" # Rules to configure and make the package. compile_rules() { - cd mupdf - jam '-sBUILD=release' '-sDEFINES=NOCJK' + cd $src + sed -i 's| debug| release|g' Makefile + make build=release + make build=release prefix=$PWD/_pkg/usr install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin - cp mupdf/build/linux-x86-release/mupdf $fs/usr/bin/mupdf + cp -a $_pkg/usr/bin $fs/usr }