Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8804 - (show annotations) (download)
Thu Jul 28 21:33:33 2011 UTC (12 years, 9 months ago) by niro
File size: 1456 byte(s)
-fixed dependencies
1 # $Id$
2
3 PNAME="redland"
4 PVER="1.0.13"
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 >= dev-db/libiodbc-3.52
18 >= dev-db/virtuoso-6.1"
19
20 SDEPEND=">= sys-dev/autoconf-4
21 >= sys-dev/automake-3"
22
23 SRCFILE="${PNAME}-${PVER}.tar.gz"
24 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
25
26 sminclude mbuild
27
28 SRC_URI=(
29 http://download.librdf.org/source/${SRCFILE}
30 mirror://${PNAME}/${SRCFILE}
31 )
32
33 UP2DATE="updatecmd http://download.librdf.org/source/ | grep ${PNAME}-[0-9] | lasttarball gz"
34
35 src_prepare()
36 {
37 munpack ${SRCFILE} || die
38 cd ${SRCDIR}
39
40 # we are using system libs so delete them
41 rm -rf {raptor,rasqal} || die
42 }
43
44 src_compile()
45 {
46 cd ${SRCDIR}
47
48 # disabled virtuoso support, or soprano fails with:
49 # -- Found Redland storage: /usr/lib64/redland/librdf_storage_mysql.so;/usr/lib64/redland/librdf_storage_sqlite.so;/usr/lib64/redland/librdf_storage_virtuoso.so
50 # -- /usr/lib64/redland/librdf_storage_virtuoso.so: undefined symbol: librdf_new_uri
51 mconfigure \
52 --with-raptor=system \
53 --with-rasqal=system \
54 --without-threads \
55 --with-openssl-digests \
56 --with-bdb \
57 --with-bdb-lib=/usr/$(mlibdir) \
58 --with-virtuoso \
59 --with-iodbc \
60 --without-unixodbc \
61 || die
62
63 mmake || die
64 }