Magellan Linux

Contents of /branches/magellan-next/extras/raptor/raptor-2.0.3-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8526 - (show annotations) (download)
Thu Jul 21 14:18:35 2011 UTC (12 years, 9 months ago) by niro
File size: 1101 byte(s)
-added upstream fixes
1 # $Id$
2
3 PNAME="raptor"
4 PVER="2.0.3"
5 PBUILD="r2"
6
7 PCATEGORIE="media-libs"
8
9 DESCRIPTION="Raptor RDF parser library."
10 HOMEPAGE="http://librdf.org/raptor/"
11
12 DEPEND=">= dev-libs/glib2-2.28
13 >= dev-libs/libxml2-2.7
14 >= dev-libs/libxslt-1.1.26
15 >= net-misc/curl-7"
16
17 SDEPEND=">= dev-util/pkgconfig-0.25"
18
19 SRCFILE="${PNAME}2-${PVER}.tar.gz"
20 SRCDIR="${BUILDDIR}/${PNAME}2-${PVER}"
21
22 sminclude mbuild
23
24 SRC_URI=(
25 http://download.librdf.org/source/${SRCFILE}
26 mirror://${PNAME}/${SRCFILE}
27 mirror://${PNAME}/${PNAME}-${PVER}-allow-instead-of-in-trig.patch
28 )
29
30 UP2DATE="updatecmd http://download.librdf.org/source/ | grep ${PNAME}2- | lasttarball gz"
31
32 src_prepare()
33 {
34 munpack ${SRCFILE} || die
35 cd ${SRCDIR}
36
37 # upstream fix for: http://bugs.librdf.org/mantis/view.php?id=451
38 mpatch ${PNAME}-${PVER}-allow-instead-of-in-trig.patch || die
39
40 # fix compilation against newer curl, which dropped types.h
41 sed -i '/#include <curl\/types.h>/d' src/raptor_internal.h || die
42 }
43
44 src_compile()
45 {
46 cd ${SRCDIR}
47
48 mconfigure \
49 --enable-nfs-check \
50 --with-xml-parser=libxml \
51 --with-www=curl \
52 || die
53
54 mmake || die
55 }