summaryrefslogtreecommitdiffstats
path: root/dbus-python/Pkgfile
blob: 86d643d02af4072baebe481de8847a68179db70e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Description: Connecteur Python pour D-Bus
# URL: http://dbus.freedesktop.org/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: python, dbus-glib
# Run on: dbus-glib 

name=dbus-python
version=1.1.1
release=1
source=(http://dbus.freedesktop.org/releases/$name/$name-$version.tar.gz)

build() {
	cd $name-$version
	PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
		--disable-html-docs
	make
	make DESTDIR=$PKG install

	PYTHON=/usr/bin/python3 ./configure --prefix=/usr \
		--disable-html-docs
	make
	make DESTDIR=$PKG install
}