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

25 lines
663 B
Plaintext
Raw Normal View History

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