wok-next diff mupdf/receipt @ rev 15472
Add some licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 09 17:34:23 2013 +0000 (2013-11-09) |
parents | b1a4866b6020 |
children | bde28fa63512 |
line diff
1.1 --- a/mupdf/receipt Mon Feb 14 04:25:13 2011 +0000 1.2 +++ b/mupdf/receipt Sat Nov 09 17:34:23 2013 +0000 1.3 @@ -1,28 +1,32 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="mupdf" 1.7 -VERSION="0.7" 1.8 +VERSION="1.2" 1.9 CATEGORY="utilities" 1.10 -SHORT_DESC="lightweight PDF viewer and toolkit written in portable C" 1.11 +SHORT_DESC="A lightweight PDF and XPS viewer" 1.12 MAINTAINER="jozee@slitaz.org" 1.13 -TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 -DEPENDS="freetype jpeg zlib jbig2dec openjpeg" 1.15 -BUILD_DEPENDS="freetype-dev jpeg-dev openjpeg-dev jbig2dec-dev zlib-dev pkg-config xorg-libX11-dev xorg-libXext-dev xorg-xextproto ftjam" 1.16 +LICENSE="GPL3" 1.17 WEB_SITE="http://mupdf.com/" 1.18 -WGET_URL="http://mupdf.com/download/$TARBALL" 1.19 +TARBALL="$PACKAGE-$VERSION-source.zip" 1.20 +WGET_URL="http://mupdf.googlecode.com/files/$TARBALL" 1.21 + 1.22 +#DEPENDS="freetype jpeg zlib jbig2dec openjpeg" 1.23 +#BUILD_DEPENDS="freetype-dev jpeg-dev openjpeg-dev jbig2dec-dev zlib-dev pkg-config xorg-libX11-dev xorg-libXext-dev xorg-xextproto ftjam" 1.24 +DEPENDS="bzlib freetype jbig2dec openjpeg xorg-libXext" 1.25 +BUILD_DEPENDS="freetype-dev jbig2dec-dev jpeg-dev openjpeg-dev zlib-dev" 1.26 1.27 # Rules to configure and make the package. 1.28 compile_rules() 1.29 { 1.30 - cd $src 1.31 - sed -i 's| debug| release|g' Makefile 1.32 + # use system wide libraries instead of included ones 1.33 + rm -rf $src/thirdparty 1.34 make build=release 1.35 - make build=release prefix=$PWD/_pkg/usr install 1.36 + make build=release prefix=/usr install 1.37 } 1.38 1.39 # Rules to gen a SliTaz package suitable for Tazpkg. 1.40 genpkg_rules() 1.41 { 1.42 mkdir -p $fs/usr/bin 1.43 - cp -a $_pkg/usr/bin $fs/usr 1.44 + cp -a $install/usr/bin/mupdf $fs/usr/bin 1.45 }