Magellan Linux

Contents of /trunk/extras/soprano/soprano-2.7.4-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 11126 - (show annotations) (download)
Fri Feb 17 18:09:35 2012 UTC (12 years, 3 months ago) by niro
File size: 947 byte(s)
auto added: ver bump to 2.7.4-r1
1 # $Id$
2
3 PNAME="soprano"
4 PVER="2.7.4"
5 PBUILD="r1"
6
7 PCAT="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.15
13 >= media-libs/raptor-2
14 >= dev-cpp/clucene-2.3
15 >= virtual/java
16 >= dev-db/libiodbc-3.52
17 >= dev-db/virtuoso-6.1
18 >= x11-libs/qt4-core-4.8
19 >= x11-libs/qt4-dbus-4.8"
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 }