summaryrefslogtreecommitdiffstats
path: root/main/pingu/APKBUILD
blob: 8f0e79dfed720ea75bf7e5759124ed4aecf9a4fe (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
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=pingu
pkgver=0.5
pkgrel=1
pkgdesc="Small daemon that pings hosts and executes a script when status change"
url="http://git.alpinelinux.org/cgit/pingu"
arch="all"
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="cd3cba6df527528eb035691b513e4dd1  pingu-0.5.tar.bz2
318110763cc8ba23a61455d16cb23f97  pingu.initd"