blob: 2c891421b85744095c6bf30f2cb18f0406bc7df0 (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Contributor:
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=py-dbus
_realname=dbus-python
pkgver=0.84.0
pkgrel=0
pkgdesc="Python bindings for DBUS"
url="http://www.freedesktop.org/wiki/Software/DBusBindings"
arch="all"
license="GPL"
depends=
depends_dev="dbus-dev dbus-glib-dev python-dev"
makedepends="$depends_dev"
install=
subpackages="$pkgname-dev $pkgname-doc"
source="http://dbus.freedesktop.org/releases/$_realname/$_realname-$pkgver.tar.gz"
_builddir="$srcdir"/$_realname-$pkgver
prepare() {
cd "$_builddir"
# apply patches here
}
build() {
cd "$_builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install
find $pkgdir -iname *.la -delete
}
md5sums="fe69a2613e824463e74f10913708c88a dbus-python-0.84.0.tar.gz"
|