milis/talimatname/genel/dbus-python/talimat

29 lines
710 B
Plaintext
Raw Normal View History

# Description: DBUS için Python bağları
2016-02-24 01:27:23 +01:00
# URL: http://dbus.freedesktop.org/
2017-01-31 01:37:09 +01:00
# Packager: milisarge
# Depends on: python python3 dbus-glib
2016-02-24 01:27:23 +01:00
name=dbus-python
2016-03-02 07:28:47 +01:00
version=1.2.2
2016-02-24 01:27:23 +01:00
release=1
source=(http://pkgs.fedoraproject.org/repo/pkgs/$name/$name-$version.tar.gz/d1f2c7ba976d457206caf57d20b5cb5d/dbus-python-1.2.2.tar.gz)
2016-02-24 01:27:23 +01:00
build() {
cd $name-$version
mkdir python2
pushd python2
PYTHON=/usr/bin/python \
../configure --prefix=/usr \
--docdir=/usr/share/doc/dbus-python-$version
make
popd
mkdir python3
pushd python3
PYTHON=/usr/bin/python3 \
../configure --prefix=/usr \
--docdir=/usr/share/doc/dbus-python-$version
popd
make DESTDIR=$PKG -C python2 install
make DESTDIR=$PKG -C python3 install
}