Contents of /branches/branch-xorg18/extras/redland/redland-1.0.9-r2.smage2
Parent Directory | Revision Log
Revision 5192 -
(show annotations)
(download)
Tue Apr 6 21:54:10 2010 UTC (14 years, 5 months ago) by niro
File size: 1446 byte(s)
Tue Apr 6 21:54:10 2010 UTC (14 years, 5 months ago) by niro
File size: 1446 byte(s)
created branch 'branch-xorg18'
1 | # $Id$ |
2 | |
3 | PNAME="redland" |
4 | PVER="1.0.9" |
5 | PBUILD="r2" |
6 | |
7 | PCATEGORIE="dev-libs" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="Redland is a set of free software libraries that provide support for the Resource Description Framework (RDF)." |
11 | HOMEPAGE="http://librdf.org/" |
12 | |
13 | DEPEND=">= dev-libs/libxml2-2.7 |
14 | >= dev-libs/openssl-0.9.8 |
15 | >= dev-db/db-4.8 |
16 | >= media-libs/raptor-1.4.18 |
17 | >= dev-libs/rasqal-0.9.16" |
18 | |
19 | SDEPEND=">= sys-dev/autoconf-4 |
20 | >= sys-dev/automake-3" |
21 | |
22 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
23 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
24 | |
25 | sminclude mbuild |
26 | |
27 | SRC_URI=( |
28 | http://download.librdf.org/source/${SRCFILE} |
29 | mirror://${PNAME}/${SRCFILE} |
30 | mirror://${PNAME}/${PNAME}-${PVER}-sqlite.patch |
31 | mirror://${PNAME}/${PNAME}-${PVER}-librdf_storage_register_factory.patch |
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 | # fix compilation with newer sqlite >=3.6.17 |
42 | mpatch ${PNAME}-${PVER}-sqlite.patch || die |
43 | # upstream, fixes "undefined symbol: librdf_storage_register_factory" |
44 | mpatch ${PNAME}-${PVER}-librdf_storage_register_factory.patch || die |
45 | |
46 | autoconf --force || die |
47 | |
48 | # we are using system libs so delete them |
49 | rm -rf {raptor,rasqal} || die |
50 | } |
51 | |
52 | src_compile() |
53 | { |
54 | cd ${SRCDIR} |
55 | |
56 | mconfigure \ |
57 | --with-raptor=system \ |
58 | --with-rasqal=system \ |
59 | --with-threads \ |
60 | --with-openssl-digests \ |
61 | --with-bdb \ |
62 | --with-bdb-lib=/usr/$(mlibdir) \ |
63 | || die |
64 | |
65 | mmake || die |
66 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |