Magellan Linux

Annotation of /branches/magellan-next/extras/soprano/soprano-2.5.2-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6925 - (hide annotations) (download)
Fri Sep 24 15:49:28 2010 UTC (13 years, 7 months ago) by niro
File size: 1030 byte(s)
-rebuild
1 niro 6925 # $Id: soprano-2.4.0-r2.smage2 4864 2010-02-12 15:38:11Z niro $
2    
3     PNAME="soprano"
4     PVER="2.5.2"
5     PBUILD="r2"
6    
7     PCATEGORIE="dev-libs"
8     STATE="unstable"
9    
10     DESCRIPTION="Soprano is an open and pluggable RDF resource framework which is build on top of QT4."
11     HOMEPAGE="http://soprano.sourceforge.net/"
12    
13     DEPEND=">= dev-libs/redland-1.0.9
14     >= media-libs/raptor-1.4.18
15     >= dev-cpp/clucene-0.9.21
16     >= virtual/java
17     >= dev-db/libiodbc-3.52
18     >= dev-db/virtuoso-6.1.0
19     >= x11-libs/qt4-core-4.7
20     >= x11-libs/qt4-dbus-4.7"
21    
22     SRCFILE="${PNAME}-${PVER}.tar.bz2"
23     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
24    
25     sminclude cmake qt4
26    
27     SRC_URI=(
28     sourceforge://${PNAME}/${SRCFILE}
29     mirror://${PNAME}/${SRCFILE}
30     )
31    
32     UP2DATE="updatecmd_sourceforge ${PNAME} Soprano"
33    
34     src_prepare()
35     {
36     munpack ${SRCFILE} || die
37     cd ${SRCDIR}
38    
39     # disable doxygen docs
40     sed -i '/find_package(Doxygen)/s/^/#DONOTFIND /' CMakeLists.txt || die
41    
42     # disable tests
43     sed -i -e '/add_subdirectory(test)/s/^/#DONOTCOMPILE /' \
44     -e '/enable_testing/s/^/#DONOTENABLE /' \
45     -i CMakeLists.txt || die
46     }