Contents of /branches/R11-stable/extras/redland/redland-1.0.15-r3.smage2
Parent Directory | Revision Log
Revision 15359 -
(show annotations)
(download)
Wed Jan 2 11:34:54 2013 UTC (11 years, 8 months ago) by niro
File size: 1497 byte(s)
Wed Jan 2 11:34:54 2013 UTC (11 years, 8 months ago) by niro
File size: 1497 byte(s)
-release branches/R11-stable
1 | # $Id$ |
2 | |
3 | PNAME="redland" |
4 | PVER="1.0.15" |
5 | PBUILD="r3" |
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 | >= dev-libs/libpcre-8.30 |
16 | >= media-libs/raptor-2 |
17 | >= dev-libs/rasqal-0.9.28 |
18 | >= dev-db/libiodbc-3.52 |
19 | >= dev-db/virtuoso-6.1" |
20 | |
21 | SDEPEND=">= sys-dev/autoconf-4 |
22 | >= sys-dev/automake-3" |
23 | |
24 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
25 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
26 | |
27 | sminclude mbuild |
28 | msetfeature "!check" |
29 | |
30 | SRC_URI=( |
31 | http://download.librdf.org/source/${SRCFILE} |
32 | mirror://${PNAME}/${SRCFILE} |
33 | ) |
34 | |
35 | UP2DATE="updatecmd http://download.librdf.org/source/ | grep ${PNAME}-[0-9] | lasttarball gz" |
36 | |
37 | src_prepare() |
38 | { |
39 | munpack ${SRCFILE} || die |
40 | cd ${SRCDIR} |
41 | |
42 | # we are using system libs so delete them |
43 | rm -rf {raptor,rasqal} || die |
44 | } |
45 | |
46 | src_compile() |
47 | { |
48 | cd ${SRCDIR} |
49 | |
50 | # disabled virtuoso support, or soprano fails with: |
51 | # -- Found Redland storage: /usr/lib64/redland/librdf_storage_mysql.so;/usr/lib64/redland/librdf_storage_sqlite.so;/usr/lib64/redland/librdf_storage_virtuoso.so |
52 | # -- /usr/lib64/redland/librdf_storage_virtuoso.so: undefined symbol: librdf_new_uri |
53 | mconfigure \ |
54 | --with-raptor=system \ |
55 | --with-rasqal=system \ |
56 | --without-threads \ |
57 | --with-openssl-digests \ |
58 | --with-bdb \ |
59 | --with-bdb-lib=/usr/$(mlibdir) \ |
60 | --with-virtuoso \ |
61 | --with-iodbc \ |
62 | --without-unixodbc \ |
63 | || die |
64 | |
65 | mmake || die |
66 | } |