Contents of /branches/magellan-next/extras/qscintilla-qt4/qscintilla-qt4-2.4.5-r1.smage2
Parent Directory | Revision Log
Revision 7191 -
(show annotations)
(download)
Thu Sep 30 15:47:21 2010 UTC (14 years ago) by niro
File size: 1463 byte(s)
Thu Sep 30 15:47:21 2010 UTC (14 years ago) by niro
File size: 1463 byte(s)
auto added: ver bump to 2.4.5-r1
1 | # $Id: qscintilla-qt4-2.4.2-r2.smage2 4827 2010-02-11 22:09:14Z niro $ |
2 | |
3 | PNAME="qscintilla-qt4" |
4 | PVER="2.4.5" |
5 | PBUILD="r1" |
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.7 |
14 | >= x11-libs/qt4-core-4.7 |
15 | >= x11-libs/qt4-gui-4.7 |
16 | >= x11-libs/qt4-script-4.7" |
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 | } |