wok-stable diff mupdf/receipt @ rev 7251

Up: xorg-xrdb to 1.0.7.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Nov 14 15:45:12 2010 +0000 (2010-11-14)
parents f25424541723
children b1a4866b6020
line diff
     1.1 --- a/mupdf/receipt	Tue Oct 19 21:30:50 2010 -0400
     1.2 +++ b/mupdf/receipt	Sun Nov 14 15:45:12 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  }