dbus-python

This commit is contained in:
milisbir 2018-08-14 03:58:35 +03:00
parent 483a6644ef
commit 4cc6f45957
1 changed files with 6 additions and 13 deletions

View File

@ -1,28 +1,21 @@
# Tanım: DBUS için Python bağları # Tanım: DBUS için Python bağları
# URL: http://dbus.freedesktop.org/ # URL: http://dbus.freedesktop.org/
# Paketçi: milisarge # Paketçi: milisarge
# Gerekler: python python3 dbus-glib # Gerekler: python dbus-glib
# Grup: kütüphane
isim=dbus-python isim=dbus-python
surum=1.2.2 surum=1.2.8
devir=1 devir=1
kaynak=(http://pkgs.fedoraproject.org/repo/pkgs/$isim/$isim-$surum.tar.gz/d1f2c7ba976d457206caf57d20b5cb5d/dbus-python-1.2.2.tar.gz) kaynak=(https://dbus.freedesktop.org/releases/dbus-python/dbus-python-${surum}.tar.gz)
derle() { derle() {
cd $isim-$surum cd $isim-$surum
mkdir python2 mkdir python2
pushd python2 pushd python2
PYTHON=/usr/bin/python \ PYTHON=/usr/bin/python2 \
../configure --prefix=/usr \ ../configure --prefix=/usr
--docdir=/usr/share/doc/dbus-python-$surum
make make
popd popd
mkdir python3
pushd python3
PYTHON=/usr/bin/python3 \
../configure --prefix=/usr \
--docdir=/usr/share/doc/dbus-python-$surum
popd
make DESTDIR=$PKG -C python2 install make DESTDIR=$PKG -C python2 install
make DESTDIR=$PKG -C python3 install
} }