pkgname=iphbd
pkgver=0.0.18
pkgrel=2
pkgdesc="IP heartbeat daemon"
arch="all"
url="https://github.com/maemo-leste/iphbd"
license="GPL2"
depends="dbus dbus-glib"
makedepends="autoconf automake libtool dbus-glib-dev"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/maemo-leste/iphbd/archive/$pkgver.tar.gz"

builddir="$srcdir/iphbd-$pkgver"

build() {
	cd "$builddir"
	./autogen.sh
	./configure --prefix=/usr
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir/" install
}
sha512sums="ddf500be33892ec275444747da003bc5fea7bc2f4969bb7fde5626e5c0988d21362753eb02f256736f7aeadf09ded20fa211a7f91cd142259e34beb4b1a4540b  iphbd-0.0.18.tar.gz"
