aboutsummaryrefslogtreecommitdiffstats
path: root/testing/drbdmanage/APKBUILD
blob: b7f6bf8ca64221714294b4763abeb7f0b9926aec (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
42
43
44
45
46
# Contributor: Roland Kammerer <roland.kammerer@linbit.com>
# Maintainer: Roland Kammerer <roland.kammerer@linbit.com>
_usname=drbdmanage
pkgname=$_usname
pkgver=0.93
pkgrel=0
pkgdesc="DRBD9 Cluster Management Tool"
url="http://www.drbd.org"
arch="noarch"
license="GPL"
depends="python py-gobject dbus py-dbus lvm2 drbd-utils>=8.9.6"
depends_dev=""
makedepends="python-dev libxslt docbook-xsl help2man"
install=""
subpackages="$pkgname-doc"
source="http://oss.linbit.com/$_usname/$_usname-$pkgver.tar.gz
        rm-systemd-and-bash.patch"

_builddir=$srcdir/$_usname-$pkgver
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	python setup.py build_man || return 1
	python setup.py build || return 1
}

package() {
	cd "$_builddir"
	python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="ca811d4a84638d850daeb70d9652d0bd  drbdmanage-0.93.tar.gz
24c95b3312a4ee69e7225bdb0e19b4ed  rm-systemd-and-bash.patch"
sha256sums="811b40c3a1af7cef3c6cac0e2e8df7f21f97846c23b1e3f16e7b7945a35151df  drbdmanage-0.93.tar.gz
14bc5ac238ccd56794f24f21ed5bbe2d957edb725b4cb0889d1f539e4c187e23  rm-systemd-and-bash.patch"
sha512sums="156352a675cb99f62a7b8a78664f173f7c259dad1042f61e19fbb1e7a70e548928856b42eda7402ce120a4f445fd8f2c5df646387f490ad315ff00ac7bb9ea28  drbdmanage-0.93.tar.gz
ca8108c2a46b6cac54bc0b811547107329d34f58462075010d5af7c7b0c3cdbf58061e80057b54f095f0dedde54b3b8cb99b5b0aab21960e7c0d47b01528037e  rm-systemd-and-bash.patch"