aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kea-hook-runscript/APKBUILD
blob: 352ea10abe4c048536d60d5fe1d7e0a65ca9d790 (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
26
27
28
29
30
31
# Maintainer: Steve HOLWEG <skytep@gmail.com>

pkgname=kea-hook-runscript
pkgver=1.1.0
pkgrel=1
pkgdesc="This a hook for the Kea DHCP server that allows to run an external script."
arch="all"
url="https://github.com/zorun/kea-hook-runscript"
license="MPL2"
depends="kea>=1.4.0"
makedepends="kea-dev kea-utils boost-dev"
install=""
subpackages=""
source="$pkgname-$pkgver.tar.gz::https://github.com/zorun/$pkgname/archive/v$pkgver.tar.gz"
options="!check" # Library and makefile provide no tests

build() {
	cd "$builddir"

	make
}

package() {
	cd "$builddir"

	mkdir -p "${pkgdir}/usr/lib/hooks/"

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

sha512sums="b3b1c8ede6758b596fc03394bbd609aa7971d6b3bd267e2b5dda9c04ff6e9aa048de3d44e93ad287d70320784f1fcd101c03a9e8d12569403540fb49c32eda04  kea-hook-runscript-1.1.0.tar.gz"