Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 21132 - (show annotations) (download)
Wed Mar 12 12:00:03 2014 UTC (10 years, 3 months ago) by niro
File size: 1034 byte(s)
-disabled src_check, no makefile target
1 # $Id$
2
3 PNAME="soprano"
4 PVER="2.9.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.17
13 >= dev-libs/libpcre-8.33
14 >= media-libs/raptor-2
15 >= dev-cpp/clucene-2.3
16 >= virtual/java
17 >= dev-db/libiodbc-3.52
18 >= dev-db/virtuoso-6.1
19 >= x11-libs/qt4-core-4.8
20 >= x11-libs/qt4-dbus-4.8"
21
22 SRCFILE="${PNAME}-${PVER%_*}.tar.bz2"
23 SRCDIR="${BUILDDIR}/${PNAME}-${PVER%_*}"
24
25 sminclude cmake qt4
26 msetfeature "!check" # no check target
27
28 SRC_URI=(
29 sourceforge://${PNAME}/${SRCFILE}
30 mirror://${PNAME}/${SRCFILE}
31 )
32
33 UP2TARBALL="${PNAME}"
34 UP2DATE="updatecmd_sourceforge ${PNAME} Soprano"
35
36 src_prepare()
37 {
38 munpack ${SRCFILE} || die
39 cd ${SRCDIR}
40
41 # disable doxygen docs
42 sed -i '/find_package(Doxygen)/s/^/#DONOTFIND /' CMakeLists.txt || die
43
44 # disable tests
45 sed -i -e '/add_subdirectory(test)/s/^/#DONOTCOMPILE /' \
46 -e '/enable_testing/s/^/#DONOTENABLE /' \
47 -i CMakeLists.txt || die
48 }