Magellan Linux

Contents of /trunk/extras/redland/redland-1.0.9-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3687 - (show annotations) (download)
Fri Oct 30 09:57:18 2009 UTC (14 years, 7 months ago) by niro
File size: 1297 byte(s)
-fixed compile issues
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 )
31
32 UP2DATE="updatecmd http://download.librdf.org/source/ | grep ${PNAME}-[0-9] | lasttarball gz"
33
34 src_prepare()
35 {
36 munpack ${SRCFILE} || die
37 cd ${SRCDIR}
38
39 # fix compilation with newer sqlite >=3.6.17
40 mpatch ${PNAME}-${PVER}-sqlite.patch || die
41 # upstream, fixes "undefined symbol: librdf_storage_register_factory"
42 mpatch ${PNAME}-${PVER}-librdf_storage_register_factory.patch || die
43
44 # we are using system libs so delete them
45 rm -rf {raptor,rasqal} || die
46 }
47
48 src_compile()
49 {
50 cd ${SRCDIR}
51
52 mconfigure \
53 --with-raptor=system \
54 --with-rasqal=system \
55 --with-threads \
56 --with-openssl-digests \
57 --with-bdb \
58 --with-bdb-lib=/usr/$(mlibdir) \
59 || die
60
61 mmake || die
62 }

Properties

Name Value
svn:keywords Id