Magellan Linux

Contents of /branches/magellan-next/extras/redland/redland-1.0.10-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6928 - (show annotations) (download)
Fri Sep 24 16:16:29 2010 UTC (13 years, 7 months ago) by niro
File size: 1714 byte(s)
-disabled virtuoso support, to fix soprano builds
1 # $Id: redland-1.0.9-r2.smage2 3690 2009-10-30 10:06:08Z niro $
2
3 PNAME="redland"
4 PVER="1.0.10"
5 PBUILD="r3"
6
7 PCATEGORIE="dev-libs"
8 STATE="unstable"
9
10 DESCRIPTION="Redland is a set of free software libraries that provide support for the Resource Description Framework (RDF)."
11 HOMEPAGE="http://librdf.org/"
12
13 DEPEND=">= dev-libs/libxml2-2.7
14 >= dev-libs/openssl-1.0.0
15 >= dev-db/db-5.0
16 >= media-libs/raptor-1.4.21
17 >= dev-libs/rasqal-0.9.20"
18
19 SDEPEND=">= sys-dev/autoconf-4
20 >= sys-dev/automake-3"
21
22 SRCFILE="${PNAME}-${PVER}.tar.gz"
23 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
24
25 sminclude mbuild
26
27 SRC_URI=(
28 http://download.librdf.org/source/${SRCFILE}
29 mirror://${PNAME}/${SRCFILE}
30 mirror://${PNAME}/${PNAME}-${PVER}-librdf_storage_register_factory.patch
31 )
32
33 #UP2DATE="updatecmd http://download.librdf.org/source/ | grep ${PNAME}-[0-9] | lasttarball gz"
34 UP2DATE="updatecmd_sourceforge librdf ${PNAME}"
35
36 src_prepare()
37 {
38 munpack ${SRCFILE} || die
39 cd ${SRCDIR}
40
41 # upstream, fixes "undefined symbol: librdf_storage_register_factory"
42 mpatch ${PNAME}-${PVER}-librdf_storage_register_factory.patch || die
43
44 # we are using system libs so delete them
45 rm -rf {raptor,rasqal} || die
46 }
47
48 src_compile()
49 {
50 cd ${SRCDIR}
51
52 # disabled virtuoso support, or soprano fails with:
53 # -- Found Redland storage: /usr/lib64/redland/librdf_storage_mysql.so;/usr/lib64/redland/librdf_storage_sqlite.so;/usr/lib64/redland/librdf_storage_virtuoso.so
54 # -- /usr/lib64/redland/librdf_storage_virtuoso.so: undefined symbol: librdf_new_uri
55 mconfigure \
56 --with-raptor=system \
57 --with-rasqal=system \
58 --without-threads \
59 --with-openssl-digests \
60 --with-bdb \
61 --with-bdb-lib=/usr/$(mlibdir) \
62 --without-virtuoso \
63 || die
64
65 mmake || die
66 }