Contents of /branches/magellan-next/extras/soprano/soprano-2.6.51_git20110720-r1.smage2
Parent Directory | Revision Log
Revision 8516 -
(show annotations)
(download)
Wed Jul 20 20:31:18 2011 UTC (13 years, 2 months ago) by niro
File size: 1100 byte(s)
Wed Jul 20 20:31:18 2011 UTC (13 years, 2 months ago) by niro
File size: 1100 byte(s)
auto added: ver bump to 2.6.51_git20110720-r1
1 | # $Id$ |
2 | |
3 | PNAME="soprano" |
4 | PVER="2.6.51_git20110720" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="dev-libs" |
8 | |
9 | DESCRIPTION="Soprano is an open and pluggable RDF resource framework which is build on top of QT4." |
10 | HOMEPAGE="http://soprano.sourceforge.net/" |
11 | |
12 | DEPEND=">= dev-libs/redland-1.0.11 |
13 | >= media-libs/raptor-2 |
14 | >= dev-cpp/clucene-0.9.21 |
15 | >= virtual/java |
16 | >= dev-db/libiodbc-3.52 |
17 | >= dev-db/virtuoso-6.1 |
18 | >= x11-libs/qt4-core-4.7 |
19 | >= x11-libs/qt4-dbus-4.7" |
20 | |
21 | SRCFILE="${PNAME}-${PVER%_*}.tar.bz2" |
22 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER%_*}" |
23 | |
24 | sminclude cmake qt4 |
25 | |
26 | SRC_URI=( |
27 | sourceforge://${PNAME}/${SRCFILE} |
28 | mirror://${PNAME}/${SRCFILE} |
29 | mirror://${PNAME}/${PNAME}-2.6.51-git20110720.patch |
30 | ) |
31 | |
32 | UP2DATE="updatecmd_sourceforge ${PNAME} Soprano" |
33 | |
34 | src_prepare() |
35 | { |
36 | munpack ${SRCFILE} || die |
37 | cd ${SRCDIR} |
38 | |
39 | # patches from current git |
40 | mpatch ${PNAME}-2.6.51-git20110720.patch || die |
41 | |
42 | # disable doxygen docs |
43 | sed -i '/find_package(Doxygen)/s/^/#DONOTFIND /' CMakeLists.txt || die |
44 | |
45 | # disable tests |
46 | sed -i -e '/add_subdirectory(test)/s/^/#DONOTCOMPILE /' \ |
47 | -e '/enable_testing/s/^/#DONOTENABLE /' \ |
48 | -i CMakeLists.txt || die |
49 | } |