aboutsummaryrefslogtreecommitdiffstats
path: root/community/kea-hook-runscript/APKBUILD
blob: c06a3f66202462fcdaae190762ba4a8c2b02a5d8 (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
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
# Contributor: Steve Holweg <skytep@gmail.com>
pkgname=kea-hook-runscript
pkgver=1.4.0
pkgrel=5
pkgdesc="This a hook for the Kea DHCP server that allows to run an external script."
url="https://github.com/zorun/kea-hook-runscript"
arch="all !armhf !armv7 !s390x"  # limited by kea
license="MPL2"
depends="kea-common>=1.4.0"
makedepends="boost-dev kea-dev"
source="https://github.com/zorun/kea-hook-runscript/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz"
options="!check"  # Library and makefile provide no tests

build() {
	make
}

package() {
	install -Dm755 kea-hook-runscript.so "$pkgdir"/usr/lib/kea/hooks/kea-hook-runscript.so
}

sha512sums="
beb60ae0d24e60f557dcefffd562a558586dddac7f41b24f45235b0ae3771893d6baf1627f6b91d39fda2671612fd77bc7ae80cbd311572883df3467cd5bb92d  kea-hook-runscript-1.4.0.tar.gz
"