Magellan Linux

Contents of /trunk/extras/redland/redland-1.0.15-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 11124 - (show annotations) (download)
Fri Feb 17 18:02:39 2012 UTC (12 years, 4 months ago) by niro
File size: 1471 byte(s)
-disabled src_check atm -fixme
1 # $Id$
2
3 PNAME="redland"
4 PVER="1.0.15"
5 PBUILD="r1"
6
7 PCAT="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.3
15 >= media-libs/raptor-2
16 >= dev-libs/rasqal-0.9.28
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 msetfeature "!check"
28
29 SRC_URI=(
30 http://download.librdf.org/source/${SRCFILE}
31 mirror://${PNAME}/${SRCFILE}
32 )
33
34 UP2DATE="updatecmd http://download.librdf.org/source/ | grep ${PNAME}-[0-9] | lasttarball gz"
35
36 src_prepare()
37 {
38 munpack ${SRCFILE} || die
39 cd ${SRCDIR}
40
41 # we are using system libs so delete them
42 rm -rf {raptor,rasqal} || die
43 }
44
45 src_compile()
46 {
47 cd ${SRCDIR}
48
49 # disabled virtuoso support, or soprano fails with:
50 # -- Found Redland storage: /usr/lib64/redland/librdf_storage_mysql.so;/usr/lib64/redland/librdf_storage_sqlite.so;/usr/lib64/redland/librdf_storage_virtuoso.so
51 # -- /usr/lib64/redland/librdf_storage_virtuoso.so: undefined symbol: librdf_new_uri
52 mconfigure \
53 --with-raptor=system \
54 --with-rasqal=system \
55 --without-threads \
56 --with-openssl-digests \
57 --with-bdb \
58 --with-bdb-lib=/usr/$(mlibdir) \
59 --with-virtuoso \
60 --with-iodbc \
61 --without-unixodbc \
62 || die
63
64 mmake || die
65 }