summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2010-06-02 01:05:51 +0000
committerMichael Weber <xmw@gentoo.org>2010-06-02 01:05:51 +0000
commit57921ed94239c6cc84d760189328882b651ef5a4 (patch)
tree5070c2c79f98b2a98a67ce5d507c3435210293f9 /app-text/mupdf/mupdf-940.ebuild
parentmedia-libs/jbig2dec: Tested on ~x86, keyword added (diff)
downloadsunrise-57921ed94239c6cc84d760189328882b651ef5a4.tar.gz
sunrise-57921ed94239c6cc84d760189328882b651ef5a4.tar.bz2
sunrise-57921ed94239c6cc84d760189328882b651ef5a4.zip
app-text/mupdf: Version bump. ftjam build system replaced by Makefile
svn path=/sunrise/; revision=10633
Diffstat (limited to 'app-text/mupdf/mupdf-940.ebuild')
-rw-r--r--app-text/mupdf/mupdf-940.ebuild47
1 files changed, 0 insertions, 47 deletions
diff --git a/app-text/mupdf/mupdf-940.ebuild b/app-text/mupdf/mupdf-940.ebuild
deleted file mode 100644
index bc4313fe8..000000000
--- a/app-text/mupdf/mupdf-940.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=2
-
-DESCRIPTION="a lightweight PDF viewer and toolkit written in portable C"
-HOMEPAGE="http://mupdf.com/"
-SRC_URI="http://${PN}.com/download/${PN}-r${PV}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="cjk jbig jpeg2k"
-
-S=${WORKDIR}/${PN}
-
-RDEPEND="media-libs/freetype:2
- media-libs/jpeg
- sys-libs/zlib
- x11-libs/libX11
- x11-libs/libXext
- jbig? ( media-libs/jbigkit )
- jpeg2k? ( media-libs/jasper )"
-DEPEND="${RDEPEND}
- dev-util/ftjam"
-
-src_compile() {
- cat <<EOF >> Jamrules
-LINKFLAGS = ${LDFLAGS} ;
-OPTIM = ${CFLAGS} ;
-ALL_LOCATE_TARGET = [ FDirName \$(TOP) build ] ;
-EOF
- local my_param=""
- use cjk || my_param="'-sDEFINES=NOCJK'"
- use jbig && my_param="${my_param} '-sHAVE_JBIG2DEC=yes'"
- use jpeg2k && my_param="${my_param} '-sHAVE_JASPER=yes'"
- jam ${my_param} || die
-}
-
-src_install() {
- dobin build/{{cmap,font}dump,mupdf,pdf{clean,draw,extract,show}} || die
- newbin build/pdfinfo mupdf_pdfinfo || die # avoid collision with app-text/poppler-utils
- dolib build/*.a || die
-
- dodoc README || die
-}