Contents of /trunk/extras/qscintilla-qt4/qscintilla-qt4-2.4.2-r1.smage2
Parent Directory | Revision Log
Revision 4826 -
(show annotations)
(download)
Thu Feb 11 22:04:33 2010 UTC (14 years, 3 months ago) by niro
File size: 1746 byte(s)
Thu Feb 11 22:04:33 2010 UTC (14 years, 3 months ago) by niro
File size: 1746 byte(s)
auto added: ver bump to 2.4.2-r1
1 | # $Id$ |
2 | |
3 | PNAME="qscintilla-qt4" |
4 | PVER="2.4.2" |
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.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 | |
63 | # includes |
64 | minstalldir ${QTDIR}/include/Qsci || die |
65 | minstallfile Qsci/\*.h ${QTDIR}/include/Qsci/ || die |
66 | |
67 | # libs |
68 | minstalldir ${QTDIR}/$(mlibdir) || die |
69 | minstallexec libqscintilla2.a\* ${QTDIR}/$(mlibdir) || die |
70 | cp -d libqscintilla2.so* ${BINDIR}/${QTDIR}/$(mlibdir) || die |
71 | |
72 | # trans |
73 | minstalldir ${QTDIR}/translations || die |
74 | minstallfile qscintilla\*.qm ${QTDIR}/translations || die |
75 | |
76 | # designer plugin |
77 | cd ${SRCDIR}/designer-Qt4 |
78 | mmake INSTALL_ROOT=${BINDIR} install || die |
79 | |
80 | # docs |
81 | cd ${SRCDIR}; minstalldocs ChangeLog LICENSE* NEWS README || die |
82 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |