# Contributor: Natanael Copa # Maintainer: Natanael Copa pkgname=pingu pkgver=0.4 pkgrel=0 pkgdesc="Small daemon that pings hosts and executes a script when status change" url="http://git.alpinelinux.org/cgit/pingu" license="GPL" depends= source="http://git.alpinelinux.org/cgit/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2 pingu.initd " build() { cd "$srcdir/$pkgname-$pkgver" make || return 1 make BINDIR=/usr/sbin DESTDIR="$pkgdir" install install -m644 -D pingu.conf "$pkgdir"/etc/pingu/pingu.conf install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname } md5sums="7ef410315d8f3a437810add10de33a3e pingu-0.4.tar.bz2 318110763cc8ba23a61455d16cb23f97 pingu.initd"