talimat 699 B

123456789101112131415161718192021222324252627
  1. # Tanım: Qt4 için bağlayıcı python
  2. # URL: http://www.riverbankcomputing.co.uk/software/pyqt/intro
  3. # Paketçi: milisarge
  4. # Gerekler: dbus-python python-sip qt4 phonon-qt4
  5. # Grup: kütüphane
  6. isim=python-qt4
  7. surum=4.11.2
  8. devir=1
  9. kaynak=(http://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-$surum/PyQt-x11-gpl-$surum.tar.gz)
  10. derle() {
  11. cd PyQt-x11-gpl-$surum
  12. python2 configure-ng.py \
  13. -v /usr/share/sip \
  14. -q /usr/lib/qt4/bin/qmake \
  15. --confirm-license \
  16. --qsci-api
  17. find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g'
  18. make
  19. make DESTDIR=$PKG INSTALL_ROOT=$PKG install
  20. install -Dm644 PyQt4.api $PKG/usr/share/qt4/qsci/api/python/PyQt4.api
  21. }