Annotation of /branches/magellan-next/extras/redland/redland-1.0.11-r1.smage2
Parent Directory | Revision Log
Revision 8506 -
(hide annotations)
(download)
Wed Jul 20 16:00:05 2011 UTC (12 years, 10 months ago) by niro
File size: 1419 byte(s)
Wed Jul 20 16:00:05 2011 UTC (12 years, 10 months ago) by niro
File size: 1419 byte(s)
-removed deprecated patches
1 | niro | 8505 | # $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 | ) | ||
30 | |||
31 | #UP2DATE="updatecmd http://download.librdf.org/source/ | grep ${PNAME}-[0-9] | lasttarball gz" | ||
32 | UP2DATE="updatecmd_sourceforge librdf ${PNAME}" | ||
33 | |||
34 | src_prepare() | ||
35 | { | ||
36 | munpack ${SRCFILE} || die | ||
37 | cd ${SRCDIR} | ||
38 | |||
39 | # we are using system libs so delete them | ||
40 | rm -rf {raptor,rasqal} || die | ||
41 | } | ||
42 | |||
43 | src_compile() | ||
44 | { | ||
45 | cd ${SRCDIR} | ||
46 | |||
47 | # disabled virtuoso support, or soprano fails with: | ||
48 | # -- Found Redland storage: /usr/lib64/redland/librdf_storage_mysql.so;/usr/lib64/redland/librdf_storage_sqlite.so;/usr/lib64/redland/librdf_storage_virtuoso.so | ||
49 | # -- /usr/lib64/redland/librdf_storage_virtuoso.so: undefined symbol: librdf_new_uri | ||
50 | mconfigure \ | ||
51 | --with-raptor=system \ | ||
52 | --with-rasqal=system \ | ||
53 | --without-threads \ | ||
54 | --with-openssl-digests \ | ||
55 | --with-bdb \ | ||
56 | --with-bdb-lib=/usr/$(mlibdir) \ | ||
57 | --without-virtuoso \ | ||
58 | || die | ||
59 | |||
60 | mmake || die | ||
61 | } |