Magellan Linux

Contents of /branches/magellan-next/extras/redland/redland-1.0.11-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


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