milis/talimatname/genel/p/python3-sip/talimat

25 lines
663 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: C ve C++ kitaplıkları için Python bağlamaları oluşturmayı kolaylaştıran bir araç
# URL: http://www.riverbankcomputing.co.uk/software/sip/intro
# Paketçi: milisarge
# Gerekler: python3
# Grup: kütüphane
isim=python3-sip
surum=4.19.12
devir=1
kaynak=(http://sourceforge.net/projects/pyqt/files/sip/sip-$surum/sip-$surum.tar.gz )
derle() {
pysurum="$(basename `ls -d /usr/lib/python3* | tail -n 1`)"
cd sip-$surum
python3 configure.py -b /usr/bin \
-d /usr/lib/$pysurum/site-packages \
-e /usr/include/$pysurum* \
-v /usr/share/sip
make
make DESTDIR=$PKG install
chmod 644 $PKG/usr/lib/$pysurum/site-packages/sipdistutils.py
}