summaryrefslogtreecommitdiffstats
path: root/qscintilla/Pkgfile
blob: c09c82e0d8f2cf45b91d570a12709b68d259597c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Description: Port sur Qt4 de Classe C++
# URL:  http://www.riverbankcomputing.co.uk/qscintilla/index.php
# Maintainer: phil at riverbankcomputing dot com
# Packager: lesibel at free dot fr
# Depends on: qt, pyqt, sip
# Run on: qt,pyqt,sip

name=qscintilla
version=2.6.1
release=1
source=(http://www.riverbankcomputing.com/static/Downloads/QScintilla2/QScintilla-gpl-$version.tar.gz)

build() {
	cd QScintilla-gpl-$version/Qt4
		qmake qscintilla.pro
		make QT_INSTALL_LIBS=$PKG/$QTDIR/lib
		make DESTDIR=$PKG INSTALL_ROOT=$PKG install

	cd ../designer-Qt4
		echo "INCLUDEPATH += ../Qt4" >> designer.pro
		echo "LIBS += -L$PKG/usr/lib" >> designer.pro
		qmake designer.pro
		make
		make DESTDIR=$PKG INSTALL_ROOT=$PKG install

	cd ../Python
		python2 configure.py \
			-n ../Qt4 \
			-o $PKG/usr/lib
		make
		make DESTDIR=$PKG install
}