Magellan Linux

Contents of /trunk/extras/poppler-cairo/poppler-cairo-0.6.4-r4.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (show annotations) (download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 6 months ago) by niro
File size: 1123 byte(s)
import repo
1 # $Header: /magellan-cvs/smage/poppler-cairo/poppler-cairo-0.6.4-r4.smage2,v 1.1 2008/06/14 10:26:19 niro Exp $
2
3 PNAME="poppler-cairo"
4 PVER="0.6.4"
5 PBUILD="r4"
6
7 PCATEGORIE="app-text"
8 STATE="unstable"
9
10 DESCRIPTION="Poppler bindings for cairo."
11 HOMEPAGE="http://poppler.freedesktop.org/"
12
13 DEPEND="== app-text/poppler-${PVER}
14 >= x11-libs/cairo-1.4"
15
16 SDEPEND=">= dev-util/pkgconfig-0.20
17 >= sys-dev/automake-3
18 >= sys-dev/autoconf-4"
19
20 SRCFILE="poppler-${PVER}.tar.gz"
21 SRCDIR="${BUILDDIR}/poppler-${PVER}"
22
23 sminclude mbuild
24
25 SRC_URI=(
26 http://poppler.freedesktop.org/${SRCFILE}
27 mirror://poppler/${SRCFILE}
28 mirror://poppler/poppler-${PVER}-bindings-2.patch
29 )
30
31 src_prepare()
32 {
33 munpack ${SRCFILE} || die
34 cd ${SRCDIR}
35
36 # only install the libs and compile against system libs
37 mpatch poppler-${PVER}-bindings-2.patch || die
38
39 autoreconf --install --force || die
40 }
41
42 src_compile()
43 {
44 cd ${SRCDIR}
45
46 mconfigure \
47 --enable-opi \
48 --enable-cairo-output \
49 --disable-poppler-glib \
50 --disable-poppler-qt \
51 --disable-poppler-qt4 \
52 || die
53
54 # build missing la file
55 mmake -C poppler libpoppler-cairo.la || die
56 mmake || die
57 }

Properties

Name Value
svn:keywords Id