Magellan Linux

Contents of /branches/magellan-next/extras/redland/redland-1.0.10-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6822 - (show annotations) (download)
Wed Sep 22 17:22:44 2010 UTC (13 years, 7 months ago) by niro
File size: 1545 byte(s)
auto added: ver bump to 1.0.10-r1
1 # $Id: redland-1.0.9-r2.smage2 3690 2009-10-30 10:06:08Z niro $
2
3 PNAME="redland"
4 PVER="1.0.10"
5 PBUILD="r1"
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-1.0.0
15 >= dev-db/db-5.0
16 >= media-libs/raptor-1.4.21
17 >= dev-libs/rasqal-0.9.20"
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}-1.0.9-sqlite.patch
31 mirror://${PNAME}/${PNAME}-1.0.9-librdf_storage_register_factory.patch
32 )
33
34 #UP2DATE="updatecmd http://download.librdf.org/source/ | grep ${PNAME}-[0-9] | lasttarball gz"
35 UP2DATE="updatecmd_sourceforge librdf ${PNAME}"
36
37 src_prepare()
38 {
39 munpack ${SRCFILE} || die
40 cd ${SRCDIR}
41
42 # fix compilation with newer sqlite >=3.6.17
43 mpatch ${PNAME}-1.0.9-sqlite.patch || die
44 # upstream, fixes "undefined symbol: librdf_storage_register_factory"
45 mpatch ${PNAME}-1.0.9-librdf_storage_register_factory.patch || die
46
47 autoconf --force || die
48
49 # we are using system libs so delete them
50 rm -rf {raptor,rasqal} || die
51 }
52
53 src_compile()
54 {
55 cd ${SRCDIR}
56
57 mconfigure \
58 --with-raptor=system \
59 --with-rasqal=system \
60 --with-threads \
61 --with-openssl-digests \
62 --with-bdb \
63 --with-bdb-lib=/usr/$(mlibdir) \
64 || die
65
66 mmake || die
67 }