wok annotate mupdf/receipt @ rev 14105
Up: libwekkit (1.8.3) + Build fix with bison 2.6
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Feb 24 09:15:40 2013 +0100 (2013-02-24) |
parents | d49d12b964ab |
children | 159a8b382826 |
rev | line source |
---|---|
jozee@6837 | 1 # SliTaz package receipt. |
jozee@6837 | 2 |
jozee@6837 | 3 PACKAGE="mupdf" |
slaxemulator@6854 | 4 VERSION="0.7" |
jozee@6837 | 5 CATEGORY="utilities" |
jozee@6837 | 6 SHORT_DESC="lightweight PDF viewer and toolkit written in portable C" |
jozee@6837 | 7 MAINTAINER="jozee@slitaz.org" |
jozee@6837 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@6854 | 9 DEPENDS="freetype jpeg zlib jbig2dec openjpeg" |
slaxemulator@8605 | 10 BUILD_DEPENDS="freetype-dev jpeg-dev openjpeg-dev jbig2dec-dev zlib-dev pkg-config xorg-libX11-dev xorg-libXext-dev xorg-xextproto ftjam" |
slaxemulator@6854 | 11 WEB_SITE="http://mupdf.com/" |
slaxemulator@6854 | 12 WGET_URL="http://mupdf.com/download/$TARBALL" |
jozee@6837 | 13 |
jozee@6837 | 14 # Rules to configure and make the package. |
jozee@6837 | 15 compile_rules() |
jozee@6837 | 16 { |
slaxemulator@6854 | 17 cd $src |
slaxemulator@6854 | 18 sed -i 's| debug| release|g' Makefile |
slaxemulator@6854 | 19 make build=release |
slaxemulator@6854 | 20 make build=release prefix=$PWD/_pkg/usr install |
jozee@6837 | 21 } |
jozee@6837 | 22 |
jozee@6837 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@6837 | 24 genpkg_rules() |
jozee@6837 | 25 { |
jozee@6837 | 26 mkdir -p $fs/usr/bin |
slaxemulator@6854 | 27 cp -a $_pkg/usr/bin $fs/usr |
jozee@6837 | 28 } |