APKBUILD 688 Bytes
Newer Older
Natanael Copa's avatar
Natanael Copa committed
1 2 3
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=pingu
Natanael Copa's avatar
Natanael Copa committed
4
pkgver=0.3
5
pkgrel=1
Natanael Copa's avatar
Natanael Copa committed
6
pkgdesc="Small daemon that pings hosts and executes a script when status change"
7
url="http://git.alpinelinux.org/cgit/pingu"
Natanael Copa's avatar
Natanael Copa committed
8 9
license="GPL"
depends="uclibc"
10
source="http://git.alpinelinux.org/cgit/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2
Natanael Copa's avatar
Natanael Copa committed
11 12 13 14 15 16 17 18 19 20 21
	pingu.initd
	"

build() {
	cd "$srcdir/$pkgname-$pkgver"

	make || return 1
	make BINDIR=/usr/sbin DESTDIR="$pkgdir" install
	install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
}

Natanael Copa's avatar
Natanael Copa committed
22
md5sums="59f9c927a80c71d85f2363e314a25197  pingu-0.3.tar.bz2
23
f54029d096d6b40870af027082c4f547  pingu.initd"