Magellan Linux

Contents of /branches/magellan-next/extras/soprano/soprano-2.6.51-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8514 - (show annotations) (download)
Wed Jul 20 20:17:26 2011 UTC (12 years, 9 months ago) by niro
File size: 951 byte(s)
auto added: ver bump to 2.6.51-r1
1 # $Id$
2
3 PNAME="soprano"
4 PVER="2.6.51"
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 )
30
31 UP2DATE="updatecmd_sourceforge ${PNAME} Soprano"
32
33 src_prepare()
34 {
35 munpack ${SRCFILE} || die
36 cd ${SRCDIR}
37
38 # disable doxygen docs
39 sed -i '/find_package(Doxygen)/s/^/#DONOTFIND /' CMakeLists.txt || die
40
41 # disable tests
42 sed -i -e '/add_subdirectory(test)/s/^/#DONOTCOMPILE /' \
43 -e '/enable_testing/s/^/#DONOTENABLE /' \
44 -i CMakeLists.txt || die
45 }