wok annotate mupdf/receipt @ rev 8050
Improve attr&acl receipts by replacing strange slackware seds by the use of DIST_ROOT; acl includes are now going at the right place.
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Jan 20 21:38:00 2011 +0100 (2011-01-20) |
parents | f25424541723 |
children | b1a4866b6020 |
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@6854 | 10 BUILD_DEPENDS="freetype-dev jpeg-dev openjpeg-dev jbig2dec-dev zlib-dev pkg-config xorg-libX11-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 } |