wok view mupdf/receipt @ rev 9708

gcc: add few more options and enable c++ in --first-pass and remove --tune since we got configure WARNNIG, not use by LFS and not usefull we already have the tripplet --build, --host, --target
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 08 20:39:17 2011 +0200 (2011-05-08)
parents d49d12b964ab
children 159a8b382826
line source
1 # SliTaz package receipt.
3 PACKAGE="mupdf"
4 VERSION="0.7"
5 CATEGORY="utilities"
6 SHORT_DESC="lightweight PDF viewer and toolkit written in portable C"
7 MAINTAINER="jozee@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 DEPENDS="freetype jpeg zlib jbig2dec openjpeg"
10 BUILD_DEPENDS="freetype-dev jpeg-dev openjpeg-dev jbig2dec-dev zlib-dev pkg-config xorg-libX11-dev xorg-libXext-dev xorg-xextproto ftjam"
11 WEB_SITE="http://mupdf.com/"
12 WGET_URL="http://mupdf.com/download/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i 's| debug| release|g' Makefile
19 make build=release
20 make build=release prefix=$PWD/_pkg/usr install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/bin
27 cp -a $_pkg/usr/bin $fs/usr
28 }