diff options
Diffstat (limited to 'extra/qscintilla/Pkgfile')
-rwxr-xr-x | extra/qscintilla/Pkgfile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/extra/qscintilla/Pkgfile b/extra/qscintilla/Pkgfile new file mode 100755 index 000000000..4efa0749c --- /dev/null +++ b/extra/qscintilla/Pkgfile @@ -0,0 +1,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 +} |