milis/talimatname/genel/d/dbus-python/talimat

29 lines
691 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: DBUS için Python bağları
2016-02-24 01:27:23 +01:00
# URL: http://dbus.freedesktop.org/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: python python3 dbus-glib
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
isim=dbus-python
surum=1.2.2
devir=1
kaynak=(http://pkgs.fedoraproject.org/repo/pkgs/$isim/$isim-$surum.tar.gz/d1f2c7ba976d457206caf57d20b5cb5d/dbus-python-1.2.2.tar.gz)
2016-02-24 01:27:23 +01:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd $isim-$surum
2016-02-24 01:27:23 +01:00
mkdir python2
pushd python2
PYTHON=/usr/bin/python \
../configure --prefix=/usr \
2017-10-28 14:10:23 +02:00
--docdir=/usr/share/doc/dbus-python-$surum
2016-02-24 01:27:23 +01:00
make
popd
mkdir python3
pushd python3
PYTHON=/usr/bin/python3 \
../configure --prefix=/usr \
2017-10-28 14:10:23 +02:00
--docdir=/usr/share/doc/dbus-python-$surum
2016-02-24 01:27:23 +01:00
popd
make DESTDIR=$PKG -C python2 install
make DESTDIR=$PKG -C python3 install
}