aboutsummaryrefslogtreecommitdiffstats
path: root/main/pingu/APKBUILD
blob: fdd91972ab07716535d8be4bec08ad74132331e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=pingu
pkgver=0.3
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="uclibc"
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 -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
}

md5sums="59f9c927a80c71d85f2363e314a25197  pingu-0.3.tar.bz2
d2162d9c02a66691bb6360f4f2d9d701  pingu.initd"