aboutsummaryrefslogtreecommitdiffstats
path: root/community/kea-hook-runscript/APKBUILD
blob: e1f2af18df2c5fc68fab16e0a34ef375dff4429b (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.1
pkgrel=4
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="048610f9c4388a9f00e550c139d2c90cd347ae516bc92e0d10082bf1c42ceb2be6857399919c36fe09faba67e3b6e8bd0bac09cf35e8899faafd5872fb276293  kea-hook-runscript-1.3.1.tar.gz"