summaryrefslogtreecommitdiffstats
path: root/qscintilla/Pkgfile
blob: 4efa0749cdb53fc5d5bcff419225c1a4b747ed0e (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: NuTyX packager team
# Packager: lesibel at free dot fr
# Depends on: qt, pyqt, sip
# Run on: qt,pyqt,sip

name=qscintilla
version=2.5.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
}