Magellan Linux

Contents of /trunk/extras/strigi/strigi-0.7.7-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 11102 - (show annotations) (download)
Fri Feb 17 10:47:10 2012 UTC (12 years, 7 months ago) by niro
File size: 1835 byte(s)
-imported from NEXT
1 # $Id$
2
3 PNAME="strigi"
4 PVER="0.7.7"
5 PBUILD="r1"
6
7 PCAT="app-misc"
8
9 DESCRIPTION="Fast crawling desktop search engine with Qt4 GUI."
10 HOMEPAGE="http://strigi.sourceforge.net/"
11
12 DEPEND=">= dev-cpp/clucene-2.3
13 >= dev-libs/libxml2-2.7
14 >= media-gfx/exiv2-0.21
15 >= sys-apps/dbus-1.5
16 >= virtual/java
17 >= app-admin/gamin-0.1.10
18 >= app-arch/bzip2-1.0.6
19 >= x11-libs/qt4-core-4.8
20 >= x11-libs/qt4-dbus-4.8
21 >= x11-libs/qt4-gui-4.8"
22
23 SDEPEND=">= virtual/java-jdk"
24
25 SRCFILE="${PNAME}-${PVER}.tar.xz"
26 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
27
28 sminclude qt4 cmake mtools
29
30 # check also http://www.vandenoever.info/software/strigi/
31 SRC_URI=(
32 http://rdieter.fedorapeople.org/strigi/${SRCFILE}
33 http://www.vandenoever.info/software/${PNAME}/${SRCFILE}
34 mirror://${PNAME}/${SRCFILE}
35 mirror://${PNAME}/strigi-daemon.desktop
36 )
37
38 #UP2DATE="updatecmd http://www.vandenoever.info/software/${PNAME}/ | grep ${PNAME}- | firsttarball"
39 UP2DATE="http://rdieter.fedorapeople.org/strigi | grep ${PNAME}- | firsttarball xz"
40
41 src_compile()
42 {
43 cd ${SRCDIR}
44
45 # warn about /proc in chroot environments
46 [[ ! -d /proc/sys ]] && die "Please make sure /proc is mounted in chroot-environments."
47
48 # build outside of the source dir
49 install -d ${BUILDDIR}/build || die
50 cd ${BUILDDIR}/build
51
52 # only using libxml2 not expat
53 cmake_configure \
54 -DFORCE_DEPS=ON \
55 $(cmake_enable POLLING) \
56 $(cmake_enable CLUCENE) \
57 $(cmake_enable DBUS) \
58 $(cmake_enable INOTIFY) \
59 $(cmake_enable FAM) \
60 $(cmake_enable QT4) \
61 $(cmake_enable EXIV2) \
62 $(cmake_disable HYPERESTRAIER) \
63 $(cmake_disable CPPUNIT) \
64 $(cmake_disable REGENERATEXSD) \
65 $(cmake_disable LOG4CXX) \
66 $(cmake_disable XINE) \
67 || die
68
69 mmake || die
70 }
71
72 src_install()
73 {
74 cmake_src_install || die
75 minstalldir /etc/xdg/autostart || die
76 minstallfile -s strigi-daemon.desktop /etc/xdg/autostart/ || die
77 }