wok-undigest rev 43

Add: mupdf (r940)
author Alexander Medvedev <devl547@gmail.com>
date Mon Apr 12 19:12:03 2010 +0000 (2010-04-12)
parents c518a113b716
children ba8d317e0f7d
files mupdf/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mupdf/receipt	Mon Apr 12 19:12:03 2010 +0000
     1.3 @@ -0,0 +1,27 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="mupdf"
     1.7 +VERSION="r940"
     1.8 +CATEGORY="utilities"
     1.9 +SHORT_DESC="lightweight PDF viewer and toolkit written in portable C"
    1.10 +MAINTAINER="devl547@gmail.com"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 +WEB_SITE="http://ccxvii.net/mupdf/"
    1.13 +WGET_URL="http://ccxvii.net/mupdf/download/$TARBALL"
    1.14 +BUILD_DEPENDS="ftjam"
    1.15 +DEPENDS="freetype jpeg zlib"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd mupdf
    1.21 +	jam '-sBUILD=release -sDEFINES=NOCJK'
    1.22 +	strip -s build/linux-x86-release/linux-x86--sdefines=nocjk/mupdf
    1.23 +}
    1.24 +
    1.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 +genpkg_rules()
    1.27 +{
    1.28 +	mkdir -p $fs/usr/bin
    1.29 +	cp mupdf/build/linux-x86-release/linux-x86--sdefines=nocjk/mupdf $fs/usr/bin/mupdf
    1.30 +}