aboutsummaryrefslogtreecommitdiffstats
path: root/community/kea-hook-runscript/APKBUILD
blob: 67a29ddd0b23122de633c649e74859458d28267e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
# Contributor: Steve Holweg <skytep@gmail.com>
pkgname=kea-hook-runscript
pkgver=1.3.2
pkgrel=0
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="01b0e6190a40f36a08a352277d0793b54a93e980838cf16b453d28af4b94ba71647372ba6bbb90f61d72b2cbb6b76891f6f40ca8383c0aae44a764b6de1e402f  kea-hook-runscript-1.3.2.tar.gz"