Magellan Linux

Annotation of /trunk/extras/qscintilla-qt4/qscintilla-qt4-2.4.2-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4827 - (hide annotations) (download)
Thu Feb 11 22:09:14 2010 UTC (14 years, 4 months ago) by niro
File size: 1399 byte(s)
fixed install location
1 niro 4827 # $Id$
2    
3     PNAME="qscintilla-qt4"
4     PVER="2.4.2"
5     PBUILD="r2"
6    
7     PCATEGORIE="dev-python"
8     STATE="unstable"
9    
10     DESCRIPTION="QScintilla is a port to Qt of Neil Hodgson's Scintilla C++ editor class."
11     HOMEPAGE="http://www.riverbankcomputing.com/software/qscintilla/"
12    
13     DEPEND=">= dev-lang/python-2.6
14     >= x11-libs/qt4-core-4.6
15     >= x11-libs/qt4-gui-4.6
16     >= x11-libs/qt4-script-4.6"
17    
18     SDEPEND=">= sys-apps/sed-4"
19    
20     SRCFILE="QScintilla-gpl-${PVER}.tar.gz"
21     SRCDIR="${BUILDDIR}/QScintilla-gpl-${PVER}"
22    
23     # we need the qtdir var
24     sminclude qt4 mtools
25    
26     SRC_URI=(
27     http://www.riverbankcomputing.com/static/Downloads/QScintilla2/${SRCFILE}
28     mirror://${PNAME}/${SRCFILE}
29     mirror://${PNAME}/${PNAME}-2.4-designer.patch
30     )
31    
32     UP2DATE="updatecmd ${HOMEPAGE}/download | lasttarball gz"
33    
34     src_prepare()
35     {
36     munpack ${SRCFILE} || die
37     cd ${SRCDIR}
38     mpatch ${PNAME}-2.4-designer.patch || die
39    
40     # create a makefile
41     cd ${SRCDIR}/Qt4
42     ${QMAKE} -o Makefile qscintilla.pro || die
43    
44     # designer plugin
45     cd ${SRCDIR}/designer-Qt4
46     ${QMAKE} -o Makefile designer.pro || die
47     }
48    
49     src_compile()
50     {
51     cd ${SRCDIR}/Qt4
52     mmake all staticlib || die
53    
54     # designer plugin
55     cd ${SRCDIR}/designer-Qt4
56     mmake || die
57     }
58    
59     src_install()
60     {
61     cd ${SRCDIR}/Qt4
62     mmake INSTALL_ROOT=${BINDIR} install || die
63    
64     # designer plugin
65     cd ${SRCDIR}/designer-Qt4
66     mmake INSTALL_ROOT=${BINDIR} install || die
67    
68     # docs
69     cd ${SRCDIR}; minstalldocs ChangeLog LICENSE* NEWS README || die
70     }

Properties

Name Value
svn:keywords Id