Magellan Linux

Contents of /trunk/extras/poppler-cairo/poppler-cairo-0.10.6-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2948 - (show annotations) (download)
Wed Jul 15 23:16:29 2009 UTC (14 years, 10 months ago) by niro
File size: 1100 byte(s)
auto added: ver bump to 0.10.6-r1
1 # $Id$
2
3 PNAME="poppler-cairo"
4 PVER="0.10.6"
5 PBUILD="r1"
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.8"
15
16 SDEPEND=">= dev-util/pkgconfig-0.23
17 >= sys-dev/automake-4
18 >= sys-dev/autoconf-5"
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.patch
29 )
30
31 UP2DATE="updatecmd -listonly ${HOMEPAGE}/releases.html | firsttarball gz"
32
33 src_prepare()
34 {
35 munpack ${SRCFILE} || die
36 cd ${SRCDIR}
37
38 # only install the libs and compile against system libs
39 mpatch poppler-${PVER}-bindings.patch || die
40
41 autoreconf --install --force --verbose || die
42 }
43
44 src_compile()
45 {
46 cd ${SRCDIR}
47
48 mconfigure \
49 --enable-opi \
50 --enable-cairo-output \
51 --disable-poppler-glib \
52 --disable-poppler-qt \
53 --disable-poppler-qt4 \
54 || die
55
56 # build missing la file
57 mmake -C poppler libpoppler-cairo.la || die
58 mmake || die
59 }

Properties

Name Value
svn:keywords Id